ALSA: x86: Don't return an error from chmap ctl at disconnected
authorTakashi Iwai <tiwai@suse.de>
Wed, 15 Feb 2017 20:45:06 +0000 (21:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Feb 2017 08:22:43 +0000 (09:22 +0100)
commita72ccfbad7fd6f604d8edd068119edb57e7984e1
treed0edf7354280a155371889778a7f1a7f50e7ee53
parent18353192b8f696a27420e2e8f39804c2075f26fb
ALSA: x86: Don't return an error from chmap ctl at disconnected

It's not wise to return an error at info/get callback when
disconnected, which happens at any time.
The chmap ctl is supposed to fill zero for such a case, instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c