diff options
author | Jim Quinlan <james.quinlan@broadcom.com> | 2024-08-15 18:57:24 -0400 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-09-07 16:37:44 +0000 |
commit | 6f61062fce866e2ff1f3300b278e93d939a846a0 (patch) | |
tree | c0c252d82a8f27a8ebbba27de973e2c7d0c89e2b /drivers/pci/controller/dwc/pcie-qcom-ep.c | |
parent | ae6476c6de187bea90c729e3e0188143300fa671 (diff) |
PCI: brcmstb: Check return value of all reset_control_* calls
Always check the return value for invocations of reset_control_xxx() and
propagate the error to the next level.
Although the current functions in reset-brcmstb.c cannot fail, this may
someday change.
Link: https://lore.kernel.org/linux-pci/20240815225731.40276-12-james.quinlan@broadcom.com
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Stanimir Varbanov <svarbanov@suse.de>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions