diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-25 11:38:13 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-25 18:28:41 +0200 |
commit | 53055aae2048214cbec1f5f7f8846f9dff12b2bc (patch) | |
tree | 0cc2387f2cbf7050d994b4f57b5b6c1584e52589 /arch | |
parent | ddbfeb396eb085e17f5aa830a151d546f16cb868 (diff) | |
download | linux-53055aae2048214cbec1f5f7f8846f9dff12b2bc.tar.gz linux-53055aae2048214cbec1f5f7f8846f9dff12b2bc.tar.bz2 linux-53055aae2048214cbec1f5f7f8846f9dff12b2bc.zip |
OMAP: DSS2: DSI: add dsi_vc_dcs_read_2() helper
Add dsi_vc_dcs_read_2() helper function to read two bytes from the DSI
peripheral.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/include/plat/display.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index 23bc94fc51fa..1c529ce9dc11 100644 --- a/arch/arm/plat-omap/include/plat/display.h +++ b/arch/arm/plat-omap/include/plat/display.h @@ -238,6 +238,7 @@ int dsi_vc_dcs_write_1(int channel, u8 dcs_cmd, u8 param); int dsi_vc_dcs_write_nosync(int channel, u8 *data, int len); int dsi_vc_dcs_read(int channel, u8 dcs_cmd, u8 *buf, int buflen); int dsi_vc_dcs_read_1(int channel, u8 dcs_cmd, u8 *data); +int dsi_vc_dcs_read_2(int channel, u8 dcs_cmd, u16 *data); int dsi_vc_set_max_rx_packet_size(int channel, u16 len); int dsi_vc_send_null(int channel); int dsi_vc_send_bta_sync(int channel); |