diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2020-03-31 10:22:52 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-01 07:52:41 +0200 |
commit | 328dfaabb22fa9241c71731da81558c5e2a3925d (patch) | |
tree | bfe72862cce1d3adf70914e78ce24d6a4a2ed5b8 /lib/wchar.c | |
parent | c3bc808ddb01c014b8f56fd503e700c77849a2af (diff) | |
download | barebox-328dfaabb22fa9241c71731da81558c5e2a3925d.tar.gz barebox-328dfaabb22fa9241c71731da81558c5e2a3925d.tar.xz |
mfd: rave-sp: Fix rave_sp_emulated_get_status()
Original code in rave_sp_emulated_get_status() got the meaning of
RAVE_SP_STATUS_GS_FIRMWARE_MODE wrong. Invert it to correctly detect
if RAVE SP device is in bootloader mode or not.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/wchar.c')
0 files changed, 0 insertions, 0 deletions