From: Alban <albeu@free.fr>
To: Gabor Juhos <juhosg@openwrt.org>
Cc: Aban Bedel <albeu@free.fr>, Tejun Heo <tj@kernel.org>,
linux-ide@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org>,
Arnd Bergmann <arnd@arndb.de>, <stable@vger.kernel.org>
Subject: Re: [PATCH] pata-rb532-cf: get rid of the irq_to_gpio() call
Date: Wed, 17 Feb 2016 13:40:30 +0100 [thread overview]
Message-ID: <20160217134030.29e4c6d7@tock> (raw)
In-Reply-To: <1455710300-30920-1-git-send-email-juhosg@openwrt.org>
On Wed, 17 Feb 2016 12:58:20 +0100
Gabor Juhos <juhosg@openwrt.org> wrote:
> The RB532 platform specific irq_to_gpio() implementation has been
> removed with commit 832f5dacfa0b ("MIPS: Remove all the uses of
> custom gpio.h"). Now the platform uses the generic stub which causes
> the following error:
>
> pata-rb532-cf pata-rb532-cf: no GPIO found for irq149
> pata-rb532-cf: probe of pata-rb532-cf failed with error -2
>
> Drop the irq_to_gpio() call and get the GPIO number from platform
> data instead. After this change, the driver works again:
I think it would be preferable to move this driver to use the gpiod
API. The changes needed should be about the same size and it would
be a much more future proof fix.
Alban
next prev parent reply other threads:[~2016-02-17 12:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 11:58 [PATCH] pata-rb532-cf: get rid of the irq_to_gpio() call Gabor Juhos
2016-02-17 12:40 ` Alban [this message]
2016-02-18 10:05 ` Gabor Juhos
2016-02-18 16:28 ` Tejun Heo
2016-02-18 16:46 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160217134030.29e4c6d7@tock \
--to=albeu@free.fr \
--cc=arnd@arndb.de \
--cc=juhosg@openwrt.org \
--cc=linux-ide@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=stable@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox