diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2021-08-06 09:43:11 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-08-11 15:03:53 +0200 |
commit | 31697ef7f3f45293bba3da87bcc710953e97fc3e (patch) | |
tree | fb2ebf1415be9b3fb82c12c131cd63522f2a9917 /tools/perf/scripts/python/intel-pt-events.py | |
parent | d1dee814168538eba166ae4150b37f0d88257884 (diff) |
pinctrl: k210: Fix k210_fpioa_probe()
In k210_fpioa_probe(), add missing calls to clk_disable_unprepare() in
case of error after cenabling the clk and pclk clocks. Also add missing
error handling when enabling pclk.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Link: https://lore.kernel.org/r/20210806004311.52859-1-damien.lemoal@wdc.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions