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

Reply via email to