summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/cyttsp4_core.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-10-18 01:41:14 +0300
committerArchit Taneja <architt@codeaurora.org>2016-10-18 15:21:57 +0530
commit59f11a43237fe08de8572b5be5d961d262ae770d (patch)
treee20012781fcd041ed8f2d881ff7489742e488828 /drivers/input/touchscreen/cyttsp4_core.c
parentba0891d1120389ad44c4f4e6d0b71f5fbcc23163 (diff)
downloadop-kernel-dev-59f11a43237fe08de8572b5be5d961d262ae770d.zip
op-kernel-dev-59f11a43237fe08de8572b5be5d961d262ae770d.tar.gz
drm: tilcdc: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
The driver needs the number of bytes per pixel, not the bpp and depth info meant for fbdev compatibility. Use the right API. In the tilcdc_crtc_mode_set() function compute the hardware register value directly from the pixel format instead of computing the number of bits per pixels first. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Archit Taneja <architt@codeaurora.org> Link: http://patchwork.freedesktop.org/patch/msgid/1476744081-24485-7-git-send-email-laurent.pinchart@ideasonboard.com
Diffstat (limited to 'drivers/input/touchscreen/cyttsp4_core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud