ALT Linux Bugzilla
– Attachment 3827 Details for
Bug 21030
Отсутствует поддержка web-камеры Genius Slim 322
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
microdia-hack-1.patch
microdia-hack-1.patch (text/plain), 500 bytes, created by
Sergey Vlasov
on 2009-09-02 19:48:41 MSD
(
hide
)
Description:
microdia-hack-1.patch
Filename:
MIME Type:
Creator:
Sergey Vlasov
Created:
2009-09-02 19:48:41 MSD
Size:
500 bytes
patch
obsolete
>diff --git a/hv7131r.c b/hv7131r.c >index 4ae7c2a..a4ffd9d 100644 >--- a/hv7131r.c >+++ b/hv7131r.c >@@ -67,7 +67,11 @@ int hv7131r_set_exposure(struct usb_sn9c20x *dev) > buf[1] = (val >> 8) & 0xff; > buf[2] = val & 0xff; > >- ret = sn9c20x_write_i2c_data_ext(dev, 3, 0x25, buf, 0x1e); >+ ret = sn9c20x_write_i2c_data(dev, 1, 0x25, &buf[0]); >+ if (ret >= 0) >+ ret = sn9c20x_write_i2c_data(dev, 1, 0x26, &buf[1]); >+ if (ret >= 0) >+ ret = sn9c20x_write_i2c_data(dev, 1, 0x27, &buf[2]); > > return ret; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21030
:
3826
| 3827 |
3828
|
3847