summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sound/max98095.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sound/max98095.c b/drivers/sound/max98095.c
index 6a98dac04b..7a3dbd0984 100644
--- a/drivers/sound/max98095.c
+++ b/drivers/sound/max98095.c
@@ -569,8 +569,7 @@ int max98095_init(const void *blob, enum en_max_audio_interface aif_id,
i2c_set_bus_num(pcodec_info.i2c_bus);
- /* shift the device address by 1 for 7 bit addressing */
- max98095_info.i2c_addr = pcodec_info.i2c_dev_addr >> 1;
+ max98095_info.i2c_addr = pcodec_info.i2c_dev_addr;
ret = max98095_device_init(&max98095_info);
if (ret < 0) {
debug("%s: max98095 codec chip init failed\n", __func__);