sound: oxygen: zero-initialize model data
authorClemens Ladisch <clemens@ladisch.de>
Fri, 27 Feb 2009 08:27:44 +0000 (09:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Feb 2009 16:32:21 +0000 (17:32 +0100)
commit82af308f658cf2193e5058bbbfd37c3437cfb4e7
treeb428773f64ac5dca11e7141c50deb35d37b01709
parent930738de602d2ceb0d1c1b368fe2a8d2a974ab72
sound: oxygen: zero-initialize model data

Model drivers assume that model_data is zeroed, so we better use
kzalloc() (like we did before when it was allocated together with the
card structure).

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