diff options
Diffstat (limited to 'drivers/sound/wm8994.c')
-rw-r--r-- | drivers/sound/wm8994.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/sound/wm8994.c b/drivers/sound/wm8994.c index e671f6b85e..34bc4eb516 100644 --- a/drivers/sound/wm8994.c +++ b/drivers/sound/wm8994.c @@ -813,7 +813,6 @@ static int get_codec_values(struct sound_codec_info *pcodec_info, const void *blob) { int error = 0; -#if CONFIG_IS_ENABLED(OF_CONTROL) enum fdt_compat_id compat; int node; int parent; @@ -847,11 +846,6 @@ static int get_codec_values(struct sound_codec_info *pcodec_info, debug("%s: Unknown compat id %d\n", __func__, compat); return -1; } -#else - pcodec_info->i2c_bus = AUDIO_I2C_BUS; - pcodec_info->i2c_dev_addr = AUDIO_I2C_REG; - debug("i2c dev addr = %d\n", pcodec_info->i2c_dev_addr); -#endif pcodec_info->codec_type = CODEC_WM_8994; |