On 8 November 2017 at 07:34, Masahiro Yamada
wrote:
> It is not efficient to call gpiod_to_irq() regardless the flag, then
> ignore the returned irq if MMC_CAP_NEEDS_POLL.
>
> Move gpiod_to_irq() after the MMC_CAP_NEEDS_POLL check.
>
> Signed-off-by: Masahiro Yamada
Thanks, applied for next!
Ki
It is not efficient to call gpiod_to_irq() regardless the flag, then
ignore the returned irq if MMC_CAP_NEEDS_POLL.
Move gpiod_to_irq() after the MMC_CAP_NEEDS_POLL check.
Signed-off-by: Masahiro Yamada
---
drivers/mmc/core/slot-gpio.c | 14 ++
1 file changed, 6 insertions(+), 8 de
2 matches
Mail list logo