[REGRESSION,3.11-rc] wm8775 9-001b: I2C: cannot write ??? to register R??

Message ID 521C5493.1050407@cisco.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Hans Verkuil (hansverk) Aug. 27, 2013, 7:26 a.m. UTC
  On 08/25/2013 05:45 PM, Knut Petersen wrote:
> Booting current git kernel dmesg shows a set of new  warnings:
> 
>     "wm8775 9-001b: I2C: cannot write ??? to register R??"
> 
> Nevertheless, the hardware seems to work fine.
> 
> This is a new problem, introduced after kernel 3.10.
> If necessary I can bisect.

Can you try this patch? I'm pretty sure this will fix it.

Regards,

	Hans


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Comments

Knut Petersen Aug. 27, 2013, 9:35 a.m. UTC | #1
On 27.08.2013 09:26, Hans Verkuil wrote:
> On 08/25/2013 05:45 PM, Knut Petersen wrote:
>> Booting current git kernel dmesg shows a set of new  warnings:
>>
>>      "wm8775 9-001b: I2C: cannot write ??? to register R??"
>>
>> Nevertheless, the hardware seems to work fine.
>>
>> This is a new problem, introduced after kernel 3.10.
>> If necessary I can bisect.
> Can you try this patch? I'm pretty sure this will fix it.

Indeed, it does cure the problem. Thanks.

Tested-by: Knut Petersen <Knut_Petersen@t-online.de>


>
> Regards,
>
> 	Hans
>
> diff --git a/drivers/media/pci/cx88/cx88.h b/drivers/media/pci/cx88/cx88.h
> index afe0eae..28893a6 100644
> --- a/drivers/media/pci/cx88/cx88.h
> +++ b/drivers/media/pci/cx88/cx88.h
> @@ -259,7 +259,7 @@ struct cx88_input {
>   };
>   
>   enum cx88_audio_chip {
> -	CX88_AUDIO_WM8775,
> +	CX88_AUDIO_WM8775 = 1,
>   	CX88_AUDIO_TVAUDIO,
>   };
>   
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Hans Verkuil (hansverk) Aug. 27, 2013, 9:51 a.m. UTC | #2
On 08/27/2013 11:35 AM, Knut Petersen wrote:
> On 27.08.2013 09:26, Hans Verkuil wrote:
>> On 08/25/2013 05:45 PM, Knut Petersen wrote:
>>> Booting current git kernel dmesg shows a set of new  warnings:
>>>
>>>      "wm8775 9-001b: I2C: cannot write ??? to register R??"
>>>
>>> Nevertheless, the hardware seems to work fine.
>>>
>>> This is a new problem, introduced after kernel 3.10.
>>> If necessary I can bisect.
>> Can you try this patch? I'm pretty sure this will fix it.
> 
> Indeed, it does cure the problem. Thanks.
> 
> Tested-by: Knut Petersen <Knut_Petersen@t-online.de>

Thanks for testing this! I've posted the pull request for this.
Hopefully it will make 3.11 before it is released.

Regards,

	Hans

> 
> 
>>
>> Regards,
>>
>>     Hans
>>
>> diff --git a/drivers/media/pci/cx88/cx88.h b/drivers/media/pci/cx88/cx88.h
>> index afe0eae..28893a6 100644
>> --- a/drivers/media/pci/cx88/cx88.h
>> +++ b/drivers/media/pci/cx88/cx88.h
>> @@ -259,7 +259,7 @@ struct cx88_input {
>>   };
>>     enum cx88_audio_chip {
>> -    CX88_AUDIO_WM8775,
>> +    CX88_AUDIO_WM8775 = 1,
>>       CX88_AUDIO_TVAUDIO,
>>   };
>>  
>>
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Knut Petersen Aug. 28, 2013, 5:34 a.m. UTC | #3
On 27.08.2013 11:51, Hans Verkuil wrote:
> On 08/27/2013 11:35 AM, Knut Petersen wrote:
>> On 27.08.2013 09:26, Hans Verkuil wrote:
>>> On 08/25/2013 05:45 PM, Knut Petersen wrote:
>>>> Booting current git kernel dmesg shows a set of new  warnings:
>>>>
>>>>       "wm8775 9-001b: I2C: cannot write ??? to register R??"
>>>>
>>>> Nevertheless, the hardware seems to work fine.
>>>>
>>>> This is a new problem, introduced after kernel 3.10.
>>>> If necessary I can bisect.
>>> Can you try this patch? I'm pretty sure this will fix it.
>> Indeed, it does cure the problem. Thanks.
>>
>> Tested-by: Knut Petersen <Knut_Petersen@t-online.de>
> Thanks for testing this! I've posted the pull request for this.
> Hopefully it will make 3.11 before it is released.

As I wrote in the initial bug report, the problem has been introduced _after_ kernel 3.10,
facd23664f1d63c33fbc6da52261c8548ed3fbd4 is _not_ part of kernel 3.10.x

Therefore the CC to stable@vger.kernel.org for v3.10 in
b9a1dfd3ba3ae00b0c1d1a396ed43fac85a32990 is wrong.

cu,
  Knut
> Regards,
>
> 	Hans
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Knut Petersen Aug. 31, 2013, 8 a.m. UTC | #4
Hi Linus!

It would be nice to have head cx88fix of git.linuxtv.org/hverkuil/media_tree.git
(git.linuxtv.org/hverkuil/media_tree.git/commit/5dce3635bf803cfe9dde84e00f5f9594439e6c02)
in 3.11 as it is a trivial and tested fix for a regression introduced between 3.10 and 3.11-rc1.

see http://www.gossamer-threads.com/lists/linux/kernel/1771751?#1771751

cu,
  Knut
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Linus Torvalds Aug. 31, 2013, 4:51 p.m. UTC | #5
On Sat, Aug 31, 2013 at 1:00 AM, Knut Petersen
<Knut_Petersen@t-online.de> wrote:
> Hi Linus!
>
> It would be nice to have head cx88fix of
> git.linuxtv.org/hverkuil/media_tree.git
> (git.linuxtv.org/hverkuil/media_tree.git/commit/5dce3635bf803cfe9dde84e00f5f9594439e6c02)
> in 3.11 as it is a trivial and tested fix for a regression introduced
> between 3.10 and 3.11-rc1.

I can't take partial pull requests - I can take individual patches
from email (with proper sign-off chains etc, of course), but I don't
do "take this patch from this git tree". Git pulls need to go through
the tree owner and with all the normal pull request rules, and the
rest of that tree doesn't look critical.

                Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/media/pci/cx88/cx88.h b/drivers/media/pci/cx88/cx88.h
index afe0eae..28893a6 100644
--- a/drivers/media/pci/cx88/cx88.h
+++ b/drivers/media/pci/cx88/cx88.h
@@ -259,7 +259,7 @@  struct cx88_input {
 };
 
 enum cx88_audio_chip {
-	CX88_AUDIO_WM8775,
+	CX88_AUDIO_WM8775 = 1,
 	CX88_AUDIO_TVAUDIO,
 };