OMAPDSS: RFBI: Maintain copy of pixel size in driver data
authorArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 09:56:49 +0000 (15:26 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:30:54 +0000 (18:00 +0530)
commitb02875be08fd2ca7a195154c9f1c538508ca0d5a
tree65d9ea0d7f7c0a171e4e89c8ae7c9e10cccb0f79
parent02c3960b1eeafd5ed30323e1bb86bfa099b46921
OMAPDSS: RFBI: Maintain copy of pixel size in driver data

The RFBI driver currently relies on the omap_dss_device struct to receive the
desired pixel size of the panel. This makes the RFBI interface driver dependent
on the omap_dss_device struct.

Make the RFBI driver data maintain it's own pixel format field. A panel driver
is expected to call omapdss_rfbi_set_pixel_size() to configure the pixel format
before enabling the interface or calling omap_rfbi_configure().

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-n8x0.c
drivers/video/omap2/dss/rfbi.c
include/video/omapdss.h