]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - hdmi: Fix wrong baseline length in ATI/AMD generated ELD
authorAnssi Hannula <anssi.hannula@iki.fi>
Sun, 10 Nov 2013 20:57:42 +0000 (22:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Nov 2013 16:08:39 +0000 (17:08 +0100)
commitb21c775ee0941f30dbd805acdbb71351c1c2f6ed
tree9fb5639e8bb7ed5ffe2835be6325fa162ba77507
parente8a4d14662985c35c53b3d51708d7a70c4b4309e
ALSA: hda - hdmi: Fix wrong baseline length in ATI/AMD generated ELD

According to the HDA specification the baseline ELD length is counted in
DW of 4 bytes instead of in bytes.

Fix the code accordingly.

Baseline length is not used by the kernel so only the ELD exported to
userspace was affected. No issues have been reported.

v2: Fixed so that eld_size is adjusted upwards accordingly as well.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_eld.c