diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2021-01-22 05:32:38 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-01 06:24:39 +0200 |
commit | 39ed82d1d9ce8eeb4126be07b3ea96be8f84fef3 (patch) | |
tree | bc0c7a73413864541244e9c5d13c09ff85e7ca36 /drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c | |
parent | drm/amdgpu/ras: switch fru eeprom handling to use generic helper (v2) (diff) | |
download | linux-39ed82d1d9ce8eeb4126be07b3ea96be8f84fef3.tar.xz linux-39ed82d1d9ce8eeb4126be07b3ea96be8f84fef3.zip |
drm/amdgpu: i2c subsystem uses 7 bit addresses
Convert from 8 bit to 7 bit.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c index 224da573ba1b..2b854bc6ae34 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c @@ -29,7 +29,7 @@ #include "amdgpu_fru_eeprom.h" #include "amdgpu_eeprom.h" -#define I2C_PRODUCT_INFO_ADDR 0xAC +#define I2C_PRODUCT_INFO_ADDR 0x56 #define I2C_PRODUCT_INFO_OFFSET 0xC0 static bool is_fru_eeprom_supported(struct amdgpu_device *adev) |