The MXL5007T tuner will lock-up on some devices after an I2C
read transaction. This patch works around this issue by inhibiting such
operations and emulating a 0x00 response. The workaround is only applied to
USB devices known to exhibit this flaw.
Signed-off-by: Alessandro Radicati
to exhibit this flaw, unless the kernel module parameter is specified.
Signed-off-by: Alessandro Radicati
---
drivers/media/usb/dvb-usb-v2/af9035.c | 27 +++
drivers/media/usb/dvb-usb-v2/af9035.h | 1 +
2 files changed, 28 insertions(+)
diff --git a/drivers/media/usb/
On Sat, Apr 9, 2016 at 7:07 PM, Antti Palosaari wrote:
>
>
> On 04/09/2016 07:11 PM, Alessandro Radicati wrote:
>>
>> On Sat, Apr 9, 2016 at 4:25 PM, Antti Palosaari wrote:
>>>
>>> On 04/09/2016 11:13 AM, Alessandro Radicati wrote:
>>>>
>&g
On Sat, Apr 9, 2016 at 4:25 PM, Antti Palosaari wrote:
> On 04/09/2016 11:13 AM, Alessandro Radicati wrote:
>>
>> On Sat, Apr 9, 2016 at 4:17 AM, Antti Palosaari wrote:
>>>
>>> On 04/09/2016 04:52 AM, Alessandro Radicati wrote:
>>>>
>>>
On Sat, Apr 9, 2016 at 4:17 AM, Antti Palosaari wrote:
> On 04/09/2016 04:52 AM, Alessandro Radicati wrote:
>>
>> On Sat, Apr 9, 2016 at 3:22 AM, Antti Palosaari wrote:
>>>
>>> Here is patches to test:
>>> http://git.linuxtv.org/anttip/media_tree.
On Sat, Apr 9, 2016 at 3:22 AM, Antti Palosaari wrote:
> Here is patches to test:
> http://git.linuxtv.org/anttip/media_tree.git/log/?h=af9035
>
I've done this already in my testing, and it works for getting a
correct chip_id response, but only because it's avoiding the issue
with the write/read
* reg addr MSB */
> buf[4] = 0x00; /* reg addr LSB */
> buf[5] = 0xfb;
> buf[6] = 0xd9;
> ret = af9035_ctrl_msg(d, &req);
> dev_dbg(&d->udev->dev, "9mxl5007t %02x\n", buf[0]);
>
> req.cmd = CMD_I2C_RD;
> req.wlen = 5;
> req.rlen = 1;
> buf[0]
welcome.
Otherwise I'll try to push through a patch for just "no_probe".
Thanks,
Alessandro
On Sat, Apr 9, 2016 at 1:13 AM, Jose Alberto Reguero
wrote:
> I made a patch long time ago, but it was not accepted.
>
> https://patchwork.linuxtv.org/patch/16242/
>
> Jo
On Wed, Apr 6, 2016 at 12:33 AM, Antti Palosaari wrote:
> I found one stick having AF9035 + MXL5007T. It is HP branded A867, so it
> should be similar. It seems to work all three 12.13.15.0 6.20.15.0
> firmwares:
> http://palosaari.fi/linux/v4l-dvb/firmware/af9035/
>
> mxl5007t 5-0060: creating ne
: Alessandro Radicati
---
drivers/media/usb/dvb-usb-v2/af9035.c | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c
b/drivers/media/usb/dvb-usb-v2/af9035.c
index 2638e32..09a549b 100644
--- a/drivers/media/usb/dvb-usb-v2
On Tue, Apr 5, 2016 at 8:15 PM, Antti Palosaari wrote:
> On 04/02/2016 01:44 PM, Alessandro Radicati wrote:
>>
>> Hi,
>> In trying to understand why my DVB USB tuner doesn't work with stock
>> kernel drivers (4.2.0), I decided to pull out my logic analyser and
given the above?
Regards,
Alessandro Radicati
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
12 matches
Mail list logo