]> git.itanic.dy.fi Git - linux-stable/commit
can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
authorJimmy Assarsson <extja@kvaser.com>
Tue, 16 May 2023 13:43:14 +0000 (15:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:44:07 +0000 (12:44 +0100)
commit33d5a0a4985af2e589d3983cbf729ed7dddeb889
tree94da31ec708f61c28ec789a1bfea3c1f191914a3
parente5ac4f12074eabfa5096b85bca275475589f57f9
can: kvaser_pciefd: Clear listen-only bit if not explicitly requested

commit bf7ac55e991ca177f1ac16be51152f1ef291a4df upstream.

The listen-only bit was never cleared, causing the controller to
always use listen-only mode, if previously set.

Fixes: 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
Cc: stable@vger.kernel.org
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Link: https://lore.kernel.org/r/20230516134318.104279-3-extja@kvaser.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/kvaser_pciefd.c