mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
media: stk1160: handle ESHUTDOWN gracefully
Give it its own error message. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
083362373e
commit
3839365cf0
|
|
@ -48,6 +48,9 @@ static inline void print_err_status(struct stk1160 *dev,
|
|||
case -EILSEQ:
|
||||
errmsg = "CRC/Timeout (could be anything)";
|
||||
break;
|
||||
case -ESHUTDOWN:
|
||||
errmsg = "host controller removed";
|
||||
break;
|
||||
case -ETIME:
|
||||
errmsg = "Device does not respond";
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user