mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ch9200: return error on failed register writes in ch9200_bind()
The successful register writes, done via the USB control requests in control_write(), seem vital for the normal functioning of the device, however the driver's bind() method ignores error codes returned from control_write(). Do bail out of ch9200_bind() on failed writes... Signed-off-by: Sergey Shtylyov <s.shtylyov@auroraos.dev> Link: https://patch.msgid.link/20260923201440.36966-2-s.shtylyov@auroraos.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
a0dfaa3ecd
commit
52c895f638
1 changed files with 12 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue