diff options
author | Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com> | 2024-01-19 14:43:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-22 11:01:11 +0000 |
commit | b6a11a7fc4d6337f7ea720b9287d1b9749c4eae0 (patch) | |
tree | 9e1115554067e0f72b4ca4ba0a9ccdccca2034d5 /drivers/pwm/pwm-tiehrpwm.c | |
parent | ef48521672452aa7a5da1cb91160822eda6e4403 (diff) | |
download | linux-b6a11a7fc4d6337f7ea720b9287d1b9749c4eae0.tar.gz linux-b6a11a7fc4d6337f7ea720b9287d1b9749c4eae0.tar.bz2 linux-b6a11a7fc4d6337f7ea720b9287d1b9749c4eae0.zip |
dpll: fix broken error path in dpll_pin_alloc(..)
If pin type is not expected, or pin properities failed to allocate
memory, the unwind error path shall not destroy pin's xarrays, which
were not yet initialized.
Add new goto label and use it to fix broken error path.
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm/pwm-tiehrpwm.c')
0 files changed, 0 insertions, 0 deletions