mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
The 'break' statement after calling ad5933_cmd only breaks out of the 'for' loop, which then unconditionally sets the return value to -EINVAL. Move the initialisation of 'ret' so we return the correct value. Signed-off-by: Phil Turnbull <phil.turnbull@oracle.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
History
|
|
|---|---|---|
| .. | ||
| accel | ||
| adc | ||
| addac | ||
| cdc | ||
| Documentation | ||
| frequency | ||
| gyro | ||
| impedance-analyzer | ||
| light | ||
| meter | ||
| resolver | ||
| trigger | ||
| Kconfig | ||
| Makefile | ||
| ring_hw.h | ||
| TODO | ||