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:
Oliver Neukum
2026-07-09 15:21:24 +02:00
committed by Hans Verkuil
parent 083362373e
commit 3839365cf0

View File

@@ -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;