31c31
< * $FreeBSD: head/sys/dev/sound/isa/ess.c 74763 2001-03-24 23:10:29Z cg $
---
> * $FreeBSD: head/sys/dev/sound/isa/ess.c 75326 2001-04-08 23:02:06Z greid $
892a893,912
> static int
> ess_resume(device_t dev)
> {
> struct ess_info *sc;
>
> sc = pcm_getdevinfo(dev);
>
> if (ess_reset_dsp(sc)) {
> device_printf(dev, "unable to reset DSP at resume\n");
> return ENXIO;
> }
>
> if (mixer_reinit(dev)) {
> device_printf(dev, "unable to reinitialize mixer at resume\n");
> return ENXIO;
> }
>
> return 0;
> }
>
897a918
> DEVMETHOD(device_resume, ess_resume),
< * $FreeBSD: head/sys/dev/sound/isa/ess.c 74763 2001-03-24 23:10:29Z cg $
---
> * $FreeBSD: head/sys/dev/sound/isa/ess.c 75326 2001-04-08 23:02:06Z greid $
892a893,912
> static int
> ess_resume(device_t dev)
> {
> struct ess_info *sc;
>
> sc = pcm_getdevinfo(dev);
>
> if (ess_reset_dsp(sc)) {
> device_printf(dev, "unable to reset DSP at resume\n");
> return ENXIO;
> }
>
> if (mixer_reinit(dev)) {
> device_printf(dev, "unable to reinitialize mixer at resume\n");
> return ENXIO;
> }
>
> return 0;
> }
>
897a918
> DEVMETHOD(device_resume, ess_resume),