diff options
| author | Rafał Miłecki <rafal@milecki.pl> | 2021-08-31 08:54:19 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-14 10:34:15 +0200 |
| commit | d91adc5322ab53df4b6d1989242bfb6c63163eb2 (patch) | |
| tree | 9a1375a3ccbea30e6174861d0b9f9ff2fbdb5e51 /scripts/gdb/linux/utils.py | |
| parent | aad06846a2304e48e7a223fad8971eed16179606 (diff) | |
Revert "USB: bcma: Add a check for devm_gpiod_get"
This reverts commit f3de5d857bb2362b00e2a8d4bc886cd49dcb66db.
That commit broke USB on all routers that have USB always powered on and
don't require toggling any GPIO. It's a majority of devices actually.
The original code worked and seemed safe: vcc GPIO is optional and
bcma_hci_platform_power_gpio() takes care of checking the pointer before
using it.
This revert fixes:
[ 10.801127] bcma_hcd: probe of bcma0:11 failed with error -2
Fixes: f3de5d857bb2 ("USB: bcma: Add a check for devm_gpiod_get")
Cc: stable <stable@vger.kernel.org>
Cc: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20210831065419.18371-1-zajec5@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
