[PATCH] soc: mediatek: Fix off-by-one checking for rate_spi
Matthias Brugger
matthias.bgg at gmail.com
Tue Apr 21 04:46:51 PDT 2015
Hi Sascha,
2015-04-21 12:59 GMT+02:00 Sascha Hauer <s.hauer at pengutronix.de>:
> On Tue, Apr 21, 2015 at 06:53:32PM +0800, Axel Lin wrote:
>> If rate_spi is 26000000, current code set ck_mhz to 18 rather than 26.
>> Fix the off-by-one checking for rate_spi.
>>
>> Signed-off-by: Axel Lin <axel.lin at ingics.com>
>
> Acked-by: Sascha Hauer <s.hauer at pengutronix.de>
>
Can you please explain why you think this is a bug? Please see my
concerns here [1].
Best regards,
Matthias
[1] http://lists.infradead.org/pipermail/linux-mediatek/2015-April/000419.html
More information about the linux-arm-kernel
mailing list