summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-meson-audio-arb.c
diff options
context:
space:
mode:
authorMarek Behún <kabel@kernel.org>2021-05-20 13:35:17 +0200
committerGregory CLEMENT <gregory.clement@bootlin.com>2021-06-17 14:51:06 +0200
commite34e60253d9272311831daed8a2d967cf80ca3dc (patch)
tree1a7fbea6b9e273c2c2b4531e2482bac13a39141d /drivers/reset/reset-meson-audio-arb.c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
firmware: turris-mox-rwtm: fix reply status decoding function
The status decoding function mox_get_status() currently contains an incorrect check: if the error status is not MBOX_STS_SUCCESS, it always returns -EIO, so the comparison to MBOX_STS_FAIL is never executed and we don't get the actual error code sent by the firmware. Fix this. Signed-off-by: Marek Behún <kabel@kernel.org> Reviewed-by: Pali Rohár <pali@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver") Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'drivers/reset/reset-meson-audio-arb.c')
0 files changed, 0 insertions, 0 deletions