[RFT v2 20/29] memory: omap-gpmc: Return meaningful error codes in gpmc_cs_set_timings()

Krzysztof Kozlowski krzk at kernel.org
Mon Aug 17 14:32:21 EDT 2020


On Fri, Jul 24, 2020 at 09:40:29AM +0200, Krzysztof Kozlowski wrote:
> The callers of gpmc_cs_set_timings() expect to receive -ERRNO on errors
> and they pass further what they have received.
> 
> However gpmc_cs_set_timings() was returning -1 (equal to -EPERM) which
> does not make sense in this context.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
> 
> ---

Applied to drivers/memory tree.

Best regards,
Krzysztof



More information about the Linux-mediatek mailing list