]> 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)
commit84f2bba87b94cb9aff67f5cc38636d24eabadeba
tree02e191749718c59797b3ef5a2cb7c4f0eedbcde4
parent0ed3089aac813c4df547b66f6b62bd2311a825fb
omapdrm: hdmi4: Correct the SoC revision matching

I believe the intention of the commit 8bf2aa5d6866
("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: 8bf2aa5d6866 ("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