Re: [PATCH AVAIL.]ivtv:Crash 2.6.26 with KUROTOSIKOU CX23416-STVLP

From: Kyuma Ohta
Date: Sun Aug 10 2008 - 12:20:40 EST


Dear Hans,and Jean;
I was applied Hans's patch to 2.6.26.1 vanilla at
morning of 08/06 (JST),and running to now,problem
cause from IIC issue was not happend.
Thanx for you (^^)

Ohta
---
E-Mail: whatisthis.sowhat@xxxxxxxxx (Public)
Home Page: http://d.hatena.ne.jp/artane/
  (Sorry,not maintaining,and written in Japanese only...)
Twitter: Artanejp (Mainly Japanese)
KEYID: 6B79F95F
FINGERPRINT:
9AB3 8569 6033 FDBE 352B  CB6D DBFA B9E2 6B79 F95F
---

2008-08-07 (Thu) の 15:07 +0200, Jean Delvare wrote:
> Hi Hans,
>
> On Sun, 3 Aug 2008 23:12:25 +0200, Hans Verkuil wrote:
> > Hi Ohta,
> >
> > Well, I picked up my card this weekend and tested it. It turns out to be
> > an i2c-core.c bug: chips with i2c addresses in the 0x5x range are
> > probed differently than other chips and the probe command contains an
> > error. The upd64083 has an address in that range and so was hit by this
> > bug. The attached patch for linux/drivers/i2c/i2c-core.c will fix it.
> >
> > As you can see, this mail also goes to Jean Delvare so that he can move
> > this upstream (should also go to the 2.6.26-stable series, Jean!).
> >
> > For the ivtv driver this bug will only hit cards where ivtv has to probe
> > for an upd64083.
> >
> > SoB for this patch:
> >
> > Signed-off-by: Hans Verkuil <hverkuil@xxxxxxxxx>
> >
> > I've verified that this is only an issue with kernels 2.6.26 and up.
> > Older kernels are not affected unless the ivtv driver from the v4l-dvb
> > repository is used. To be more precise: this bug has been in i2c-core.c
> > since 2.6.22, but the ivtv driver in 2.6.26 was the first driver that
> > used i2c_new_probed_device() with an i2c address in a range that caused
> > the broken probe to be used.
>
> Good catch, thanks for the patch. I'll push it to Linus by the end of
> the week.
>

--
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/