mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ch9200: do return USB errors from control_write()
Compared with control_read(), control_write() looks really strange: it ignores any errors returned by usb_control_msg(), always returning 0 instead, despite overriding a positive result of usb_control_msg() (indicating short transfer) to -EINVAL before doing that. Drop that dubious *return* and propagate USB errors to the callers... Signed-off-by: Sergey Shtylyov <s.shtylyov@auroraos.dev> Link: https://patch.msgid.link/20260923201440.36966-3-s.shtylyov@auroraos.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
52c895f638
commit
7bfc501718
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue