From: Thierry Reding Date: Mon, 21 Jul 2014 13:47:10 +0000 (+0200) Subject: drm/dsi: Make mipi_dsi_dcs_{read,write}() symmetrical X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~63^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=960dd616f61c8482b3f9d01fa6623576fb74503c;p=pandora-kernel.git drm/dsi: Make mipi_dsi_dcs_{read,write}() symmetrical 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(). The S6E8AA0 driver relies on the old asymmetric API and there's concern that moving to the new API may be less efficient. Provide a new function with the old semantics for those cases and make the S6E8AA0 driver use it instead. Reviewed-by: Sean Paul Signed-off-by: Thierry Reding --- Reading git-diff-tree failed