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 <s...@chromium.org>
---

Changes in v2: None

 drivers/sound/max98095.h  | 2 +-
 drivers/sound/sound-i2s.c | 6 ++----
 drivers/sound/wm8994.h    | 2 +-
 3 files changed, 4 insertions(+), 6 deletions(-)

Applied to u-boot-dm/master
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to