summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorWu Bo <wubo.oduw@gmail.com>2020-01-29 10:23:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-24 12:48:11 +0100
commitf949bdd2209e46e42eefb41ebbc363b55cea2fab (patch)
tree42b98b42479b110521eb826755370515d85be77c /drivers/ide
parent803ed6cc4750a3eb4e36728e18446b7ee550a923 (diff)
can: m_can: m_can_handle_state_change(): fix state change
[ Upstream commit cd0d83eab2e0c26fe87a10debfedbb23901853c1 ] m_can_handle_state_change() is called with the new_state as an argument. In the switch statements for CAN_STATE_ERROR_ACTIVE, the comment and the following code indicate that a CAN_STATE_ERROR_WARNING is handled. This patch fixes this problem by changing the case to CAN_STATE_ERROR_WARNING. Signed-off-by: Wu Bo <wubo.oduw@gmail.com> Link: http://lore.kernel.org/r/20200129022330.21248-2-wubo.oduw@gmail.com Cc: Dan Murphy <dmurphy@ti.com> Fixes: e0d1f4816f2a ("can: m_can: add Bosch M_CAN controller support") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions