diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 23:00:49 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-26 08:31:25 +0200 |
commit | bb86124c80780d9d2a2d9bef7f0840e61007ebb7 (patch) | |
tree | ab392324a0af1cee33e8618643deb988994853b1 /sound/isa | |
parent | ALSA: msnd: Fix the default sample sizes (diff) | |
download | linux-bb86124c80780d9d2a2d9bef7f0840e61007ebb7.tar.xz linux-bb86124c80780d9d2a2d9bef7f0840e61007ebb7.zip |
ALSA: hda/ca0132 - Use NULL instead of 0
Use NULL for initializing the snd_kcontrol_new.tlv field, instead of
0, as warned by sparse:
sound/pci/hda/patch_ca0132.c:5519:22: warning: Using plain integer as NULL pointer
Also, the driver does the same initialization twice, once for
knew.tlv.c and another for knew.tlv.p while both point to the same
address (these are union). Drop the latter superfluous one.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions