Re: [PATCH 1/3] [media] si2157: get chip id during probing

From: Antti Palosaari
Date: Sun Apr 23 2017 - 08:19:35 EST


On 03/16/2017 12:22 AM, Andreas Kemnade wrote:
If the si2157 is behind a e.g. si2168, the si2157 will
at least in some situations not be readable after the si268
got the command 0101. It still accepts commands but the answer
is just ffffff. So read the chip id before that so the
information is not lost.

The following line in kernel output is a symptome
of that problem:
si2157 7-0063: unknown chip version Si21255-\xffffffff\xffffffff\xffffffff
That is hackish solution :( Somehow I2C reads should be get working rather than making this kind of work-around. Returning 0xff to i2c reads means that signal strength also shows some wrong static value?

regards
Antti

--
http://palosaari.fi/