OSDN Git Service

siox: treat type errors as status errors
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 19 Jun 2018 09:38:54 +0000 (11:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jul 2018 15:38:57 +0000 (17:38 +0200)
commit7e6f7d24535b7c1edec3605d85c7684f7388d122
tree54c264b7d94dcc461d39ad89ec455a52517a4cc3
parentbcde98fcf9cf084f6ed6c1751d2ef68877a87c20
siox: treat type errors as status errors

The type bits are part of the per-device status word. So it's natural to
consider an error in the type bits as a status error instead of only
resulting in an unsynced state.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Gavin Schenk <g.schenk@eckelmann.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/siox/siox-core.c