Re: PATCH for 2.4.0: assign ad1848 mixer operations to correct module

2001-01-08 Thread Chris Rankin
> > + > > + if (owner) > > + ad1848_mixer_operations.owner = owner; > > + > > if ((e = sound_install_mixer(MIXER_DRIVER_VERSION, > > dev_name, > > &ad1848_mixer_operations, > > > > BTW Isn't it ever-so-slightly dodgy modifying the static > > Very. > > > operations

Re: PATCH for 2.4.0: assign ad1848 mixer operations to correct module

2001-01-08 Thread Alan Cox
> + > + if (owner) > + ad1848_mixer_operations.owner = owner; > + > if ((e = sound_install_mixer(MIXER_DRIVER_VERSION, > dev_name, > &ad1848_mixer_operations, > > BTW Isn't it ever-so-slightly dodgy modifying the static Very. > operations in exactly the same way as

PATCH for 2.4.0: assign ad1848 mixer operations to correct module

2001-01-08 Thread Chris Rankin
Hi, This patch fixes a problem that I was having with the ENSONIQ SoundScape mixer: basically, the mixer device was owned by the ad1848 module but was being deallocated when the sscape module was unloaded. This patch hands the mixer device to the sscape module instead so that the sscape module -c