[PATCH v2] media: gspca: Handle SENSOR_HV7131R
From: Philipp Matthias Hahn
Date: Fri Apr 17 2026 - 08:11:49 EST
I found an old USB webcam 0c45:602d Microdia VideoCAM ExpressII.
`vlc` triggeres two OOPS as soon as I open the device.
The first patch prevents those OOPSes, while the 2nd fixes a minor spelling
mistake.
The camera still does not work and I get the following error:
> sonixb 1-3:1.0: i2c error writing c0 11 31 38 2a 2e 00 10
I'm still investigating the old driver sn9c102_hv7131r.c from [1], but so far
was unable to make progress. So feel free to apply this now. Thank you.
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0e11a2a24db782341f456877d19b9390c5998a9
---
v1 -> v2:
- Use __func__ instead of hard-coding the function name
- Break long code lines over 100 character long
- Break long commit message lines over 72 character long
Philipp Matthias Hahn (2):
media: gspca: Handle SENSOR_HV7131R
media: gspca: Fix comment in sd_init()
drivers/media/usb/gspca/sonixb.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
--
2.47.3