diff options
author | Simon Glass <sjg@chromium.org> | 2018-12-10 20:37:38 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-14 02:32:49 +0300 |
commit | 6c986cfef4a104ad39faf381014b7c315984cab8 (patch) | |
tree | 89ff78727605b00a24bc9a6f17b3ef9827e0c25a /drivers/sound/wm8994.h | |
parent | a1b17e4f4c820c5ffe77ffa0c716e8b3b5d69866 (diff) | |
download | u-boot-6c986cfef4a104ad39faf381014b7c315984cab8.tar.xz |
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/wm8994.h')
-rw-r--r-- | drivers/sound/wm8994.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sound/wm8994.h b/drivers/sound/wm8994.h index ef2878f87c..e36e6269f0 100644 --- a/drivers/sound/wm8994.h +++ b/drivers/sound/wm8994.h @@ -15,7 +15,7 @@ /* Avilable audi interface ports in wm8994 codec */ enum en_audio_interface { - WM8994_AIF1 = 1, + WM8994_AIF1, WM8994_AIF2, WM8994_AIF3 }; |