]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: dsi: drop useless channel checks
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 10:46:36 +0000 (12:46 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 14:17:30 +0000 (16:17 +0200)
commitcfca757b7c2cd5e6cb3a0bd82b4fae9d97c45cd9
tree6494c3d55482e0babdc5b2904b2294fb8be08c5d
parent51d499e8d3035b03400c1bd67e07a7ef184a46ba
drm/omap: dsi: drop useless channel checks

A DSI peripheral can have virtual channel ID of 0-3. This should be
always the case, and there's no need in the driver to validate the
channel.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-64-tomi.valkeinen@ti.com
drivers/gpu/drm/omapdrm/dss/dsi.c