ALSA: hda: Fix Nvidia dp infoframe
authorMohan Kumar <mkumard@nvidia.com>
Tue, 13 Sep 2022 06:58:18 +0000 (12:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Oct 2022 08:39:35 +0000 (10:39 +0200)
commit6a3bee2ead9bf1286342e110fd597256435af714
tree81c7772ade68912d145c1f92bc9dbe4a199e3904
parentf7392f93a2fb00a62cc841f1ce46b34f82b8ba28
ALSA: hda: Fix Nvidia dp infoframe

[ Upstream commit f89e409402e2aeb3bc3aa44d2b7a597959e4e6af ]

Nvidia HDA HW expects infoframe data bytes order same for both
HDMI and DP i.e infoframe data starts from 5th bytes offset. As
dp infoframe structure has 4th byte as valid infoframe data, use
hdmi infoframe structure for nvidia dp infoframe to match HW behvaior.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220913065818.13015-1-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/patch_hdmi.c