mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
i2sbus_add_dev() is supposed to return the number of probed devices,
i.e. either 1 or 0. However, i2sbus_add_dev() has one error handling
that returns -ENODEV; this will screw up the accumulation number
counted in the caller, i2sbus_probe().
Fix the return value to 0 and add the comment for better understanding
for readers.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| codecs | ||
| core | ||
| fabrics | ||
| soundbus | ||
| aoa-gpio.h | ||
| aoa.h | ||
| Kconfig | ||
| Makefile | ||