summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-fwnode.h
diff options
context:
space:
mode:
authorLinus Walleij2017-07-11 14:26:01 +0200
committerStephen Boyd2017-07-17 20:51:10 +0200
commitf905293d655cbb8be833261ef390aaba71b44307 (patch)
treebd6542e9960801ca592c9a4861a744574ed77bc3 /include/media/v4l2-fwnode.h
parentLinux v4.13-rc1 (diff)
downloadkernel-qcow2-linux-f905293d655cbb8be833261ef390aaba71b44307.tar.gz
kernel-qcow2-linux-f905293d655cbb8be833261ef390aaba71b44307.tar.xz
kernel-qcow2-linux-f905293d655cbb8be833261ef390aaba71b44307.zip
clk: gemini: Fix reset regression
commit e2860e1f62f2 ("serial: 8250_of: Add reset support") introduced reset support for the 8250_of driver. However it unconditionally uses the assert/deassert pair to deassert reset on the device at probe and assert it at remove. This does not work with systems that have a self-deasserting reset controller, such as Gemini, that recently added a reset controller. As a result, the console will not probe on the Gemini with this message: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled of_serial: probe of 42000000.serial failed with error -524 This (-ENOTSUPP) is the error code returned by the deassert() operation on self-deasserting reset controllers. To work around this, implement dummy .assert() and .deassert() operations in the Gemini combined clock and reset controller. This fixes the issue on this system. Cc: Joel Stanley <joel@jms.id.au> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-serial@vger.kernel.org Fixes: e2860e1f62f2 ("serial: 8250_of: Add reset support") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/media/v4l2-fwnode.h')
0 files changed, 0 insertions, 0 deletions