]> git.baikalelectronics.ru Git - uboot.git/commit
dm: sound: Start i2c IDs from 0
authorSimon Glass <sjg@chromium.org>
Mon, 10 Dec 2018 17:37:38 +0000 (10:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:32:49 +0000 (16:32 -0700)
commit3bce80ee8d7b4a9846cd09cf5b9a194c6156d1cc
tree89ff78727605b00a24bc9a6f17b3ef9827e0c25a
parentf1bf1a00aa62cd140c39c72842dcbb727540d19a
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>
drivers/sound/max98095.h
drivers/sound/sound-i2s.c
drivers/sound/wm8994.h