[U-Boot] [PATCH v2 09/22] dm: sound: Start i2c IDs from 0
sjg at google.com
sjg at google.com
Fri Dec 14 15:35:58 UTC 2018
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 at 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
More information about the U-Boot
mailing list