diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-09-16 11:36:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-05 13:51:11 +0200 |
commit | 230f7d9321b82d721ab4665a52a0c37d37ab45d9 (patch) | |
tree | 4b8da301d8e3c4bc80e620ef3bc9653f34cbaf2e /include | |
parent | d64e4d691f19180825035e480218596427e3f9d1 (diff) | |
download | barebox-230f7d9321b82d721ab4665a52a0c37d37ab45d9.tar.gz barebox-230f7d9321b82d721ab4665a52a0c37d37ab45d9.tar.xz |
mci-bcm2835: Fix return type handling of bcm2835_mci_wait_command_done()
The function returns a negative value in a code path and the return value
is used as a return value for another functions returning int, too. So
change the value to int (and the variable holding the return value, too).
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.barebox.org/20210916093627.173566-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions