]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: dp: Update dpaux_write interface
authorDaniel Solomon <daniels@nvidia.com>
Fri, 31 Jan 2014 22:39:18 +0000 (14:39 -0800)
committerChao Xu <cxu@nvidia.com>
Fri, 7 Mar 2014 01:47:35 +0000 (17:47 -0800)
commitc2cce9aa29b8ddcd1afe75ddb8f35f33059dedbc
tree667d2a222a082845338b966137bc4944972a9153
parentd95550cc279f780b84cd361084734614890a19b3
video: tegra: dp: Update dpaux_write interface

The function tegra_dc_dpaux_read() expects read
data length to be exact the number of bytes to be read,
while tegra_dc_dpaux_write() expects write data length
to be N-1 bytes.
This change fixes this discrepancy and changes dpaux_write
to expect the exact number of bytes as well.

Bug 1315461

Change-Id: Ica490dd3fd721620912b22776d855063d8028e30
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/376792
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>
drivers/video/tegra/dc/dp.c