sound: oxygen: fix NULL pointer dereference when loading snd-oxygen
authorClemens Ladisch <clemens@ladisch.de>
Mon, 16 Jun 2008 12:13:52 +0000 (14:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Jun 2008 13:16:11 +0000 (15:16 +0200)
commit9f9115d880ca550922434aee05ca18796c58eb99
tree01fb4db5fa376da49a04ec55423e7dc40e928087
parent066519068ad2fbe98c7f45552b1f592903a9c8c8
sound: oxygen: fix NULL pointer dereference when loading snd-oxygen

Check that model->control_filter is set before trying to call it.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen_mixer.c