]> git.baikalelectronics.ru Git - kernel.git/commit
omapdrm: hdmi4: Correct the SoC revision matching
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 20 Nov 2017 09:51:40 +0000 (11:51 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 30 Nov 2017 10:25:37 +0000 (12:25 +0200)
commit12fe807348807ec8316ced736be3b14ed709604a
tree02e191749718c59797b3ef5a2cb7c4f0eedbcde4
parent6df6278a630fa54104f51a091deb4ee4915eae06
omapdrm: hdmi4: Correct the SoC revision matching

I believe the intention of the commit b7825a262354
("drm: omapdrm: Move FEAT_HDMI_* features to hdmi4 driver")
was to identify omap4430 ES1.x, omap4430 ES2.x and other OMAP4 revisions,
like omap4460.

By using family=OMAP4 in the match the code will treat omap4460 ES1.x in a
same way as it would treat omap4430 ES1.x

This breaks HDMI audio on OMAP4460 devices (PandaES for example).

Correct the match rule so we are not going to get false positive match.

Fixes: b7825a262354 ("drm: omapdrm: Move FEAT_HDMI_* features to hdmi4 driver")
Cc: stable@vger.kernel.org # 4.14
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c