diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-08-30 22:17:25 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-08-31 08:44:01 +0200 |
commit | cd89262bc3e13fad5506966f6e29e46986afea1c (patch) | |
tree | cde17535852669f29f2d9f0136cbf786cbf367ea /drivers/led/Kconfig | |
parent | 2447b45e2fa447c0c22a2115ef75cf5618154958 (diff) | |
download | barebox-cd89262bc3e13fad5506966f6e29e46986afea1c.tar.gz barebox-cd89262bc3e13fad5506966f6e29e46986afea1c.tar.xz |
mfd: rave-sp: Emulate CMD_GET_STATUS on device that don't support it
CMD_GET_STATUS is not supported by some devices implementing
RDU2-compatible ICD as well as "legacy" devices. To account for that
fact, add code that obtains the same information (app/bootloader FW
version) using several different commands.
This is a backport of Linux kernel patch [1]
[1] https://lore.kernel.org/lkml/20180707024108.32373-5-andrew.smirnov@gmail.com/T/#md1b7130a992235d57cabadc8e59fc74ee3b21d9e
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/led/Kconfig')
0 files changed, 0 insertions, 0 deletions