drm/dsi: Use peripheral's channel for DCS commands
authorThierry Reding <treding@nvidia.com>
Mon, 21 Jul 2014 10:28:25 +0000 (12:28 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 22 Jul 2014 07:06:32 +0000 (09:06 +0200)
commit3c523d7d38a17b17371a9ea952c04a9b65c8a357
tree200bbb4a345e20985325471a028f5ff04e2e1de0
parent371c359f83b4d19d2688e975a07dc44add307e24
drm/dsi: Use peripheral's channel for DCS commands

When executing DCS commands, use the channel associated with the DSI
peripheral rather than one explicitly specified in the function call.
Devices shouldn't be able to step on each others' toes like this.

Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_mipi_dsi.c
drivers/gpu/drm/panel/panel-s6e8aa0.c
include/drm/drm_mipi_dsi.h