drm/omap: dsi: Fix crash in DSI debug dumps
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Jan 2019 03:50:33 +0000 (05:50 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 6 Feb 2019 11:38:54 +0000 (13:38 +0200)
commit4df04ac9b37f278c48bb696289aff8f81226af4b
tree87bb68dfd74705df58b651bd64b52cd5bd771329
parentb14e945bda8ae227d1bf2b1837c0c4a61721cd1a
drm/omap: dsi: Fix crash in DSI debug dumps

Reading any of the DSI debugfs files results in a crash, as wrong
pointer is passed to the dump functions, and the dump functions use a
wrong pointer. This patch fixes DSI debug dumps.

Fixes: f3ed97f9ae7d ("drm/omap: dsi: Simplify debugfs implementation")
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190111035120.20668-3-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/omapdrm/dss/dsi.c