i2c: tegra: Correct 10bit address configuration
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 27 Mar 2012 12:19:06 +0000 (17:19 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Fri, 30 Mar 2012 16:31:37 +0000 (09:31 -0700)
commitc94ba0129fbf708c12bd5def0ee02be994e814c7
treed004f7b17940dab89e3ed5c46400226efd4b11c1
parenta6ecc18e925afa23b5597a27ef66b01fad112970
i2c: tegra: Correct 10bit address configuration

The slave address of device to be configured in packet
header as follows:
7 bit address: PacketHeader3[7:1]
10 bit address: PacketHeader3[9:0]

Fixing the code to make packet header3 properly.

Change-Id: I1797066d23ada5d4d7b14710201a1fb17566b78b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/92556
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andy Carman <acarman@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
drivers/i2c/busses/i2c-tegra.c