summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-06-25 18:37:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 13:51:54 +0300
commit61acabaae5ba58b3c32e6e90d24c2c0827fd27a8 (patch)
tree2edced4947352ac5dc0f016ebeb36da9c67212ef /drivers/tty/serial/8250
parent2734d6c1b1a089fb593ef6a23d4b70903526fe0c (diff)
downloadlinux-61acabaae5ba58b3c32e6e90d24c2c0827fd27a8.tar.xz
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 <dan.carpenter@oracle.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210625153733.12911-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250')
0 files changed, 0 insertions, 0 deletions