[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-24 Thread Thierry Reding
On Thu, Jul 24, 2014 at 09:57:04AM +0200, Andrzej Hajda wrote: > On 07/23/2014 03:37 PM, Thierry Reding wrote: > > On Wed, Jul 23, 2014 at 12:59:46PM +0200, Andrzej Hajda wrote: > >> On 07/23/2014 09:51 AM, Thierry Reding wrote: > >>> On Tue, Jul 22, 2014 at 11:33:11AM +0200, Andrzej Hajda wrote:

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-24 Thread Andrzej Hajda
On 07/23/2014 03:37 PM, Thierry Reding wrote: > On Wed, Jul 23, 2014 at 12:59:46PM +0200, Andrzej Hajda wrote: >> On 07/23/2014 09:51 AM, Thierry Reding wrote: >>> On Tue, Jul 22, 2014 at 11:33:11AM +0200, Andrzej Hajda wrote: On 07/22/2014 10:12 AM, Thierry Reding wrote: > On Tue, Jul

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Thierry Reding
On Wed, Jul 23, 2014 at 12:59:46PM +0200, Andrzej Hajda wrote: > On 07/23/2014 09:51 AM, Thierry Reding wrote: > > On Tue, Jul 22, 2014 at 11:33:11AM +0200, Andrzej Hajda wrote: > >> On 07/22/2014 10:12 AM, Thierry Reding wrote: > >>> On Tue, Jul 22, 2014 at 09:32:58AM +0200, Andrzej Hajda wrote:

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Andrzej Hajda
On 07/23/2014 09:51 AM, Thierry Reding wrote: > On Tue, Jul 22, 2014 at 11:33:11AM +0200, Andrzej Hajda wrote: >> On 07/22/2014 10:12 AM, Thierry Reding wrote: >>> On Tue, Jul 22, 2014 at 09:32:58AM +0200, Andrzej Hajda wrote: On 07/22/2014 09:12 AM, Thierry Reding wrote: > From: Thierry

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Thierry Reding
On Tue, Jul 22, 2014 at 11:33:11AM +0200, Andrzej Hajda wrote: > On 07/22/2014 10:12 AM, Thierry Reding wrote: > > On Tue, Jul 22, 2014 at 09:32:58AM +0200, Andrzej Hajda wrote: > >> On 07/22/2014 09:12 AM, Thierry Reding wrote: > >>> From: Thierry Reding > >>> > >>> Currently the

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Andrzej Hajda
On 07/22/2014 01:20 PM, Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 09:12:20AM +0200, Thierry Reding wrote: >> From: Thierry Reding >> >> Currently the mipi_dsi_dcs_write() function requires the DCS command >> byte to be embedded within the write buffer whereas mipi_dsi_dcs_read() >> has a

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 09:12:20AM +0200, Thierry Reding wrote: > From: Thierry Reding > > Currently the mipi_dsi_dcs_write() function requires the DCS command > byte to be embedded within the write buffer whereas mipi_dsi_dcs_read() > has a separate parameter. Make them more symmetrical by

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-22 Thread Andrzej Hajda
On 07/22/2014 10:12 AM, Thierry Reding wrote: > On Tue, Jul 22, 2014 at 09:32:58AM +0200, Andrzej Hajda wrote: >> On 07/22/2014 09:12 AM, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> Currently the mipi_dsi_dcs_write() function requires the DCS command >>> byte to be embedded within the

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-22 Thread Thierry Reding
On Tue, Jul 22, 2014 at 09:32:58AM +0200, Andrzej Hajda wrote: > On 07/22/2014 09:12 AM, Thierry Reding wrote: > > From: Thierry Reding > > > > Currently the mipi_dsi_dcs_write() function requires the DCS command > > byte to be embedded within the write buffer whereas mipi_dsi_dcs_read() > > has

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-22 Thread Andrzej Hajda
On 07/22/2014 09:12 AM, Thierry Reding wrote: > From: Thierry Reding > > Currently the mipi_dsi_dcs_write() function requires the DCS command > byte to be embedded within the write buffer whereas mipi_dsi_dcs_read() > has a separate parameter. Make them more symmetrical by adding an extra >

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read,write}() symmetrical

2014-07-22 Thread Thierry Reding
From: Thierry Reding Currently the mipi_dsi_dcs_write() function requires the DCS command byte to be embedded within the write buffer whereas mipi_dsi_dcs_read() has a separate parameter. Make them more symmetrical by adding an extra command parameter to mipi_dsi_dcs_write().