[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <792ce307-e8a1-8159-c601-f3188fa82226@users.sourceforge.net>
Date: Tue, 26 Sep 2017 18:50:29 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Christoph Böhmwalder <christoph@...hmwalder.at>,
linux-media@...r.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Max Kellermann <max.kellermann@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/6] [media] tda8261: Use common error handling code in
tda8261_set_params()
>> @@ -129,18 +129,18 @@ static int tda8261_set_params(struct dvb_frontend *fe)
>>
>> /* Set params */
>> err = tda8261_write(state, buf);
>> - if (err < 0) {
>> - pr_err("%s: I/O Error\n", __func__);
>> - return err;
>> - }
>> + err = tda8261_get_status(fe, &status);
>> + if (err < 0)
>> + goto report_failure;
>> +
>
> Is this change really correct? Doesn't it query the status once more
> often than before?
Thanks for your inquiry.
Unfortunately, I made a copy mistake at this source code place.
When should I send a corrected suggestion for this update step
in the patch series?
Regards,
Markus
Powered by blists - more mailing lists