Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR:i2c_transfer returned: -19
From: Luis Henriques
Date: Thu Dec 19 2013 - 09:22:50 EST
On Mon, Dec 16, 2013 at 08:57:48PM +0100, Frederik Himpe wrote:
> On za, 2013-12-14 at 09:24 -0200, Mauro Carvalho Chehab wrote:
> > Em Fri, 13 Dec 2013 22:19:39 +0100
> > Frederik Himpe <fhimpe@xxxxxxxxxx> escreveu:
> >
> > > [My excuses for multiposting, it seems gmane does not permit posting to all
> > > the relevant lists]
> > >
> > > Since upgrading my system from Linux 3.12 to 3.12.3, my PCTV Systems
> > > nanoStick T2 290e does not work anymore.
> > >
> > > This happens with 3.12.3:
> > >
>
> > > [ 3.844020] tda18271 1-0060: creating new instance
> > > [ 3.868422] tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19
> > > [ 3.868492] Error reading device ID @ 1-0060, bailing out.
> > > [ 3.868548] tda18271_attach: [1-0060|M] error -5 on line 1285
> > > [ 3.868603] tda18271 1-0060: destroying instance
> > > [ 3.868666] Em28xx: Initialized (Em28xx dvb Extension) extension
> > > [ 3.894687] Registered IR keymap rc-pinnacle-pctv-hd
> > > [ 3.894819] input: em28xx IR (em28174 #0) as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/rc/rc0/input23
> > > [ 3.894979] rc0: em28xx IR (em28174 #0) as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/rc/rc0
> > > [ 3.895570] Em28xx: Initialized (Em28xx Input Extension) extension
> > >
> > > I see the same problem reported here:
> > > https://github.com/Hexxeh/rpi-firmware/issues/38 where it is mentioned
> > > that this regression also appeared in 3.10 stable series recently.
> > >
> > > I noticed upstream commit 8393796dfa4cf5dffcceec464c7789bec3a2f471
> > > (media: dvb-frontends: Don't use dynamic static allocation)
> > > entered both 3.10.22 (which is the first version introducing the
> > > regression in 3.10 stable according to the linked bug), and 3.12.3.
> > > This file contains stuff related to tda18271. Could this be the
> > > culprit?
> > >
> >
> > Well, for board EM28174_BOARD_PCTV_290E, it first attaches cxd2820r
> > and then the tuner tda18271.
> >
> > I suspect that the issue is at cxd2820r. Could you please apply this
> > patch:
> > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0db3fa2741ad8371c21b3a6785416a4afc0cc1d4
> > and see if it solves the issue?
>
> I have applied this patch to 3.12.5 and I can confirm it works fine now.
> Can this patch be applied to the stable series in order to fix this
> regression in stable?
I'm also queuing this patch for the 3.11 kernel.
Cheers,
--
Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/