* [PATCH] saa7146_i2c: saa7146_i2c_transfer() wrong?
@ 2009-01-31 16:52 Roel Kluin
[not found] ` <498481B5.4030702-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Roel Kluin @ 2009-01-31 16:52 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: linux-media-u79uwXL29TY76Z2rM5mHXA,
linux-i2c-u79uwXL29TY76Z2rM5mHXA
vi drivers/media/common/saa7146_i2c.c +292
in saa7146_i2c_transfer(..., int retries)
{
int address_err = 0;
do {
...
if (...)
address_err++;
...
} while (retries--);
/* if every retry had an address error, exit right away */
if (address_err == retries) {
goto out;
}
...
}
this is wrong, isn't it?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-01 10:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-31 16:52 [PATCH] saa7146_i2c: saa7146_i2c_transfer() wrong? Roel Kluin
[not found] ` <498481B5.4030702-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-01 10:55 ` Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox