]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: sound: Correct error handling
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:29 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 01:51:29 +0000 (09:51 +0800)
commitdd30c5bb574aba55e99284dbdfe0d6033bf44d7f
tree9e3a21ede0f6748d5a18dd7238f315e016a7013b
parenta0ed800376b0db57428f9bf6401db36789ff1aa6
x86: sound: Correct error handling

A few functions have changed to return pin numbers or I2C addresses. The
error checking for some of the callers is therefore wrong. Fix them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/sound/da7219.c
drivers/sound/max98357a.c