diff options
| author | Axel Lin <[email protected]> | 2020-01-31 20:29:18 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-02-10 10:50:58 +0100 |
| commit | 47203198ed3df0f6896d07613182c05cb94110a5 (patch) | |
| tree | dab4de05d98b8367984b6ea937bb6f5bfe299611 /tools/perf/scripts/python | |
| parent | 47d7d116661993499d626f7ec6f7679e83d59f15 (diff) | |
gpio: wcd934x: Fix logic of wcd_gpio_get
The check with register value and mask should be & rather than &&.
While at it, also use "unsigned int" for value variable because
regmap_read() takes unsigned int *val argument.
Signed-off-by: Axel Lin <[email protected]>
Reviewed-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions