mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 23:59:33 -04: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:
committed by
Hans Verkuil
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;
|
||||
|
||||
Reference in New Issue
Block a user