i2c: qup: use address helper function in read transfer
authorNaveen Kaje <nkaje@codeaurora.org>
Thu, 5 May 2016 18:33:17 +0000 (12:33 -0600)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 18 Jun 2016 16:26:58 +0000 (18:26 +0200)
commit0130944bc1d212ad4b33584424d56fe7c049eb65
tree89fa01fdab4335e5eba4565ec13836a520526549
parentfbf9921f8b35d9b241a1ee0008d310a3a5390273
i2c: qup: use address helper function in read transfer

qup_i2c_issue_read() derives the address from i2c_msg.
This called in the read path when I2C_M_RD flag is set.
Therefore, use the 8 bit address helper function.

Signed-off-by: Naveen Kaje <nkaje@codeaurora.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qup.c