HI!

> This patch adds a workaround for the Dallas chip; the chip tags
> its 8bit formats with PCM8 but expects signed data.

> @@ -2895,6 +2897,9 @@
>                               continue;
>                       }
>                       format = (fmt[5] == 2) ? (AFMT_U16_LE | AFMT_U8) : 
>(AFMT_S16_LE | AFMT_S8);
> +                     /* Dallas DS4201 workaround */
> +                     if (dev->descriptor.idVendor == 0x04fa && 
>dev->descriptor.idProduct == 0x4201)
> +                             format = (AFMT_S16_LE | AFMT_S8);

Should not you printk() in case of buggy hardware?
                                                                Pavel
-- 
I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to