[PATCH AUTOSEL for 4.9 163/190] serial: 8250_dw: Disable clock on error

2018-03-07 Thread Sasha Levin
From: Stefan Potyra [ Upstream commit 8af016aa5a27c6a2505460eb4d83f1e70c38dc43 ] If there is no clock rate for uartclk defined, disable the previously enabled clock again. Found by Linux Driver Verification project (linuxtesting.org). Fixes: 23f5b3fdd04e serial:

[PATCH AUTOSEL for 4.9 163/190] serial: 8250_dw: Disable clock on error

2018-03-07 Thread Sasha Levin
From: Stefan Potyra [ Upstream commit 8af016aa5a27c6a2505460eb4d83f1e70c38dc43 ] If there is no clock rate for uartclk defined, disable the previously enabled clock again. Found by Linux Driver Verification project (linuxtesting.org). Fixes: 23f5b3fdd04e serial: 8250_dw: only get the clock