aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorRayagonda Kokatanur <[email protected]>2019-07-24 08:28:27 +0000
committerWolfram Sang <[email protected]>2019-08-01 12:31:00 +0000
commitfd01eecdf9591453177d7b06faaabef8c300114a (patch)
tree1aad80ae0bbe3f6b1a149edcd34ee63cad0259d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentMerge tag 'at24-v5.3-rc3-fixes-for-wolfram' of git://git.kernel.org/pub/scm/l... (diff)
downloadkernel-fd01eecdf9591453177d7b06faaabef8c300114a.tar.gz
kernel-fd01eecdf9591453177d7b06faaabef8c300114a.zip
i2c: iproc: Fix i2c master read more than 63 bytes
Use SMBUS_MASTER_DATA_READ.MASTER_RD_STATUS bit to check for RX FIFO empty condition because SMBUS_MASTER_FIFO_CONTROL.MASTER_RX_PKT_COUNT is not updated for read >= 64 bytes. This fixes the issue when trying to read from the I2C slave more than 63 bytes. Fixes: c24b8d574b7c ("i2c: iproc: Extend I2C read up to 255 bytes") Cc: [email protected] Signed-off-by: Rayagonda Kokatanur <[email protected]> Reviewed-by: Ray Jui <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions