summaryrefslogtreecommitdiff
path: root/Documentation/isdn/HiSax.cert
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-15 14:44:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-21 11:44:32 -0800
commit66b99611a03866692370848760b94750384f8c39 (patch)
treedb26ab3e7dd6ff881eeb8ce523108ede9c57fe1d /Documentation/isdn/HiSax.cert
parent078314ed62531b5c78edd17885c24bfad0fbb80b (diff)
ALSA: hda/hdmi - Work around "alsactl restore" errors
commit 6f54c361329dbb67dac9de174e938992651d12d7 upstream. When "alsactl restore" is performed on HDMI codecs, it tries to restore the channel map value since the channel map controls are writable. But hdmi_chmap_ctl_put() returns -EBADFD when no PCM stream is assigned yet, and this results in an error message from alsactl. Although the error is harmless, it's certainly ugly and can be regarded as a regression. As a workaround, this patch changes the return code in such a case to be zero for making others happy. (A slight excuse is: when the chmap is changed through the proper alsa-lib API, the PCM status is checked there anyway, so we don't have to be too strict in the kernel side.) Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/isdn/HiSax.cert')
0 files changed, 0 insertions, 0 deletions