diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-06 19:03:09 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-21 19:33:04 +0000 |
| commit | f281e4ddbbc0b60f061bc18a2834e9363ba85f9f (patch) | |
| tree | bf638c5af3a7b458203a2a8b63a91f154cbee65b /include/linux/debugobjects.h | |
| parent | ade59a7af270d2447b4d8b4001a6d46d464a0191 (diff) | |
| download | cachepc-linux-f281e4ddbbc0b60f061bc18a2834e9363ba85f9f.tar.gz cachepc-linux-f281e4ddbbc0b60f061bc18a2834e9363ba85f9f.zip | |
staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
The bit reversal was wrong for bits 1 and 3 of the 5 bits.
Result is driver failure to probe if you have more than 2 daisy-chained
devices. Discovered via QEMU based device emulation.
Fixes tag is for when this moved from a macro to a function, but it
was broken before that.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Fixes: 065a7c0b1fec ("Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse")
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20220206190328.333093-2-jic23@kernel.org
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
