diff options
author | Wolfgang Grandegger <wg@grandegger.com> | 2017-12-13 19:52:23 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-01-04 16:14:38 +0100 |
commit | d5b42e6607661b198d8b26a0c30969605b1bf5c7 (patch) | |
tree | a5b41db4955ac91ee71657ab16619f670a80edfb /drivers/spi | |
parent | b4c2951a4833e66f1bbfe65ddcd4fdcdfafe5e8f (diff) | |
download | linux-d5b42e6607661b198d8b26a0c30969605b1bf5c7.tar.bz2 |
can: gs_usb: fix return value of the "set_bittiming" callback
The "set_bittiming" callback treats a positive return value as error!
For that reason "can_changelink()" will quit silently after setting
the bittiming values without processing ctrlmode, restart-ms, etc.
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions