aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-06-25 15:37:33 +0000
committerGreg Kroah-Hartman <[email protected]>2021-07-21 10:51:54 +0000
commit61acabaae5ba58b3c32e6e90d24c2c0827fd27a8 (patch)
tree2edced4947352ac5dc0f016ebeb36da9c67212ef /drivers/fpga/fpga-mgr.c
parentLinux 5.14-rc2 (diff)
downloadkernel-61acabaae5ba58b3c32e6e90d24c2c0827fd27a8.tar.gz
kernel-61acabaae5ba58b3c32e6e90d24c2c0827fd27a8.zip
serial: max310x: Unprepare and disable clock in error path
In one error case the clock may be left prepared and enabled. Unprepare and disable clock in that case to balance state of the hardware. Fixes: d4d6f03c4fb3 ("serial: max310x: Try to get crystal clock rate from property") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions