summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_drv.c
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2013-10-07 19:24:52 +0300
committerTakashi Iwai <tiwai@suse.de>2013-10-08 09:27:26 +0200
commit39edac70e9aedf451fccaa851b273ace9fcca0bd (patch)
treebc900c4a1265e235fc4220451550bc6588273891 /drivers/gpu/drm/udl/udl_drv.c
parent338cae565c53755de9f87d6a801517940d2d56f7 (diff)
downloadblackbird-obmc-linux-39edac70e9aedf451fccaa851b273ace9fcca0bd.tar.gz
blackbird-obmc-linux-39edac70e9aedf451fccaa851b273ace9fcca0bd.zip
ALSA: hda - hdmi: Fix channel map switch not taking effect
Currently hdmi_setup_audio_infoframe() reprograms the HDA channel mapping only when the infoframe is not up-to-date or the non-PCM flag has changed. However, when just the channel map has been changed, the infoframe may still be up-to-date and non-PCM flag may not have changed, so the new channel map is not actually programmed into the HDA codec. Notably, this failing case is also always triggered when the device is already in a prepared state and a new channel map is configured while changing only the channel positions (for example, plain "speaker-test -c2 -m FR,FL"). Fix that by always programming the channel map in hdmi_setup_audio_infoframe(). Tested on Intel HDMI. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/gpu/drm/udl/udl_drv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud