diff options
author | Maciej S. Szmigiero | 2018-09-09 01:21:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-11-13 20:08:17 +0100 |
commit | e792b324366a1aeb5357a879587783d328510d95 (patch) | |
tree | 00e33674c0657b79612c9512bb63607e96d2bf38 /drivers/pcmcia/yenta_socket.c | |
parent | dma-mapping: fix panic caused by passing empty cma command line argument (diff) | |
download | kernel-qcow2-linux-e792b324366a1aeb5357a879587783d328510d95.tar.gz kernel-qcow2-linux-e792b324366a1aeb5357a879587783d328510d95.tar.xz kernel-qcow2-linux-e792b324366a1aeb5357a879587783d328510d95.zip |
pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges
commit 95691e3eddc41da2d1cd3cca51fecdfb46bd85bc upstream.
Currently, "disable_clkrun" yenta_socket module parameter is only
implemented for TI CardBus bridges.
Add also an implementation for Ricoh bridges that have the necessary
setting documented in publicly available datasheets.
Tested on a RL5C476II with a Sunrich C-160 CardBus NIC that doesn't work
correctly unless the CLKRUN protocol is disabled.
Let's also make it clear in its description that the "disable_clkrun"
module parameter only works on these two previously mentioned brands of
CardBus bridges.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Cc: stable@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/yenta_socket.c')
-rw-r--r-- | drivers/pcmcia/yenta_socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c index ab3da2262f0f..ac6a3f46b1e6 100644 --- a/drivers/pcmcia/yenta_socket.c +++ b/drivers/pcmcia/yenta_socket.c @@ -26,7 +26,8 @@ static bool disable_clkrun; module_param(disable_clkrun, bool, 0444); -MODULE_PARM_DESC(disable_clkrun, "If PC card doesn't function properly, please try this option"); +MODULE_PARM_DESC(disable_clkrun, + "If PC card doesn't function properly, please try this option (TI and Ricoh bridges only)"); static bool isa_probe = 1; module_param(isa_probe, bool, 0444); |