diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-10-19 18:06:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-27 13:23:59 +0100 |
commit | df5fbca677c916d1959f814b41b841b65e450027 (patch) | |
tree | f24967088fb7216a11963a9bb992d59c905f46c9 /sound/ppc | |
parent | d3a85737521a8570adf3a8171b4b3e42216686ec (diff) | |
download | linux-df5fbca677c916d1959f814b41b841b65e450027.tar.bz2 |
staging: wfx: fix test on return value of gpiod_get_value()
The commit 8522d62e6bca ("staging: wfx: gpiod_get_value() can return an
error") has changed the way the driver test the value returned by
gpiod_get_value(). The new code was wrong.
Fixes: 8522d62e6bca ("staging: wfx: gpiod_get_value() can return an error")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20201019160604.1609180-2-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions