diff options
author | Manuel Lauss <manuel.lauss@gmail.com> | 2016-03-02 10:34:43 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-03-29 22:48:53 +0200 |
commit | e34b6fcf9b09ec9d93503edd5f81489791ffd602 (patch) | |
tree | 7191f1165f60d51561561320b466f8c96d5973d5 /sound | |
parent | fa8ff601d72bad3078ddf5ef17a5547700d06908 (diff) | |
download | linux-e34b6fcf9b09ec9d93503edd5f81489791ffd602.tar.bz2 |
pcmcia: db1xxx_ss: fix last irq_to_gpio user
remove the usage of removed irq_to_gpio() function. On pre-DB1200
boards, pass the actual carddetect GPIO number instead of the IRQ,
because we need the gpio to actually test card status (inserted or
not) and can get the irq number with gpio_to_irq() instead.
Tested on DB1300 and DB1500, this patch fixes PCMCIA on the DB1500,
which used irq_to_gpio().
Fixes: 832f5dacfa0b ("MIPS: Remove all the uses of custom gpio.h")
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-pcmcia@lists.infradead.org
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Cc: stable@vger.kernel.org # v4.3+
Patchwork: https://patchwork.linux-mips.org/patch/12747/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions