diff options
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index 5936487b5def..341c6bb2650b 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -1999,7 +1999,7 @@ static int dsi_vc_send_short(int channel, u8 data_type, u16 data, u8 ecc) | |||
1999 | return -EINVAL; | 1999 | return -EINVAL; |
2000 | } | 2000 | } |
2001 | 2001 | ||
2002 | data_id = data_type | channel << 6; | 2002 | data_id = data_type | dsi.vc[channel].dest_per << 6; |
2003 | 2003 | ||
2004 | r = (data_id << 0) | (data << 8) | (ecc << 24); | 2004 | r = (data_id << 0) | (data << 8) | (ecc << 24); |
2005 | 2005 | ||
@@ -2011,7 +2011,7 @@ static int dsi_vc_send_short(int channel, u8 data_type, u16 data, u8 ecc) | |||
2011 | int dsi_vc_send_null(int channel) | 2011 | int dsi_vc_send_null(int channel) |
2012 | { | 2012 | { |
2013 | u8 nullpkg[] = {0, 0, 0, 0}; | 2013 | u8 nullpkg[] = {0, 0, 0, 0}; |
2014 | return dsi_vc_send_long(0, DSI_DT_NULL_PACKET, nullpkg, 4, 0); | 2014 | return dsi_vc_send_long(channel, DSI_DT_NULL_PACKET, nullpkg, 4, 0); |
2015 | } | 2015 | } |
2016 | EXPORT_SYMBOL(dsi_vc_send_null); | 2016 | EXPORT_SYMBOL(dsi_vc_send_null); |
2017 | 2017 | ||