commit | fea6d8efd023a2438c848c049480ea67ea0bca16 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jun 29 16:11:00 2014 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Jul 11 14:08:24 2014 +0200 |
tree | ccf7e232dfb80c3955a0e3a0c47205ce5b8b689c | |
parent | 578c0a8721278770b851ecd23c5873ceda598ae8 [diff] |
pinctrl: sunxi: Move setting of mux to irq type With level triggered interrupt mask / unmask will get called for each interrupt, doing the somewhat expensive mux setting on each unmask thus is not a good idea. Instead add a request_resources callback and do it there. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>