mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-07 16:41:15 +00:00
Fix two reset-gpio sanity checks which were never converted to use
gpio_is_valid(), and make sure to use -EINVAL to indicate a missing
reset line also for the UART-driver module parameter and for the USB
driver.
This specifically prevents the UART and USB drivers from incidentally
trying to request and use gpio 0, and also avoids triggering a WARN() in
gpio_to_desc() during probe when no valid reset line has been specified.
Fixes:
|
||
|---|---|---|
| .. | ||
| fw_dnld.c | ||
| fw_dnld.h | ||
| i2c.c | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| nfcmrvl.h | ||
| spi.c | ||
| uart.c | ||
| usb.c | ||