summaryrefslogtreecommitdiffstats
path: root/net/ethernet
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2014-12-22 10:47:29 -0800
committerLinus Walleij <linus.walleij@linaro.org>2015-01-14 14:20:32 +0100
commit53b1bfc76df23230bbe32fd5879ff4927f04c53a (patch)
tree06565fa2acffa4ddf9c3d356235c6c76347fa003 /net/ethernet
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115 (diff)
downloadblackbird-op-linux-53b1bfc76df23230bbe32fd5879ff4927f04c53a.tar.gz
blackbird-op-linux-53b1bfc76df23230bbe32fd5879ff4927f04c53a.zip
pinctrl: rockchip: Avoid losing interrupts when supporting both edges
I was seeing cases where I was losing interrupts when inserting and removing SD cards. Sometimes the card would get "stuck" in the inserted state. I believe that the problem was related to the code to handle the case where we needed both rising and falling edges. This code would disable the interrupt as the polarity was switched. If an interrupt came at the wrong time it could be lost. We'll match what the gpio-dwapb.c driver does upstream and change the interrupt polarity without disabling things. Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud