summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/debug-uart/debug-uart.c
diff options
context:
space:
mode:
authorPadmarao Begari <padmarao.begari@amd.com>2025-04-11 07:55:38 +0200
committerMichal Simek <michal.simek@amd.com>2025-06-04 10:24:16 +0200
commit77b053502f396e83f6a0ea38d747d6836dc501f0 (patch)
tree7e1baef336ea33ad0f03e97717114c32f282a48c /arch/arm/mach-uniphier/debug-uart/debug-uart.c
parent6759bd73e9cf491c5049f87b84e627920efb5824 (diff)
usb: onboard-hub: Fix return type for regulator APIs
Apart from ENOENT observing return value as ENOSYS when !DM_REGULATOR that's why cover both configurations. Changed code is not working as operation should be "&&" not "||" (ret != -ENOENT && ret != -ENOSYS). Also fix the remove function where the regulator_set_enable_if_allowed() function is returning an error. Signed-off-by: Padmarao Begari <padmarao.begari@amd.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/a2d520f14efc30fc28ec59881205e156dabbfcd9.1744350937.git.michal.simek@amd.com
Diffstat (limited to 'arch/arm/mach-uniphier/debug-uart/debug-uart.c')
0 files changed, 0 insertions, 0 deletions