aboutsummaryrefslogtreecommitdiff
path: root/drivers/sound/max98095.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-10 10:37:38 -0700
committerSimon Glass <sjg@chromium.org>2018-12-13 16:32:49 -0700
commit6c986cfef4a104ad39faf381014b7c315984cab8 (patch)
tree89ff78727605b00a24bc9a6f17b3ef9827e0c25a /drivers/sound/max98095.h
parenta1b17e4f4c820c5ffe77ffa0c716e8b3b5d69866 (diff)
downloadu-boot-6c986cfef4a104ad39faf381014b7c315984cab8.zip
u-boot-6c986cfef4a104ad39faf381014b7c315984cab8.tar.gz
u-boot-6c986cfef4a104ad39faf381014b7c315984cab8.tar.bz2
dm: sound: Start i2c IDs from 0
The current ID enums start from 1 but there does not seem to be any reason that they cannot start with 0. Adjust the code to avoid the +1 in codec_init(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sound/max98095.h')
-rw-r--r--drivers/sound/max98095.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sound/max98095.h b/drivers/sound/max98095.h
index 44b1e3a..13ae177 100644
--- a/drivers/sound/max98095.h
+++ b/drivers/sound/max98095.h
@@ -13,7 +13,7 @@
/* Available audio interface ports in wm8994 codec */
enum en_max_audio_interface {
- AIF1 = 1,
+ AIF1,
AIF2,
};