ALSA: hda/ca0132: Delete pointless assignments to struct auto_pin_cfg fields
authorAlastair Bridgewater <alastair.bridgewater@gmail.com>
Sat, 16 Jun 2018 01:56:15 +0000 (21:56 -0400)
committerTakashi Iwai <tiwai@suse.de>
Sun, 17 Jun 2018 06:39:44 +0000 (08:39 +0200)
commit7919cd82b9f9be97111be386cbaac59958800ef9
tree654fdc72d1b5de686c8404b338ebe248efe14f9c
parentd5a6cabf02210b896a60eee7c04c670ee9ba6dca
ALSA: hda/ca0132: Delete pointless assignments to struct auto_pin_cfg fields

ca0132_config() was setting some values in the auto_pin_cfg for
the codec... but it is called prior to snd_hda_parse_pin_defcfg(),
which does a memset() to clear the entire structure as one of its
first actions, making the entire exercise pointless.

Kill all use of struct auto_pin_cfg from ca0132_config().

Signed-off-by: Alastair Bridgewater <alastair.bridgewater@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c