From: gregkh@linuxfoundation•org (Greg Kroah-Hartman)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v5 RESEND 3/5] driver core: handle -EPROBE_DEFER from bus_type.match()
Date: Thu, 11 Feb 2016 19:19:07 -0800 [thread overview]
Message-ID: <20160212031907.GD10157@kroah.com> (raw)
In-Reply-To: <1455101250-11327-4-git-send-email-m.szyprowski@samsung.com>
On Wed, Feb 10, 2016 at 11:47:28AM +0100, Marek Szyprowski wrote:
> From: Tomeu Vizoso <tomeu.vizoso@collabora•com>
>
> Allow implementations of the match() callback in struct bus_type to
> return errors and if it's -EPROBE_DEFER then queue the device for
> deferred probing.
>
> This is useful to buses such as AMBA in which devices are registered
> before their matching information can be retrieved from the HW
> (typically because a clock driver hasn't probed yet).
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora•com>
> [changed if-else code structure, adjusted documentation to match the code,
> extended comments]
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung•com>
> Reviewed-by: Ulf Hansson <ulf.hansson@linaro•org>
> ---
> Documentation/driver-model/porting.txt | 6 ++++--
> drivers/base/dd.c | 24 ++++++++++++++++++++++--
> include/linux/device.h | 7 +++++--
> 3 files changed, 31 insertions(+), 6 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation•org>
next prev parent reply other threads:[~2016-02-12 3:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 10:47 [PATCH v5 RESEND 0/5] AMBA: add complete support for power domains Marek Szyprowski
2016-02-10 10:47 ` [PATCH v5 RESEND 1/5] drivers: nvdimm: ensure no negative value gets returned on positive match Marek Szyprowski
2016-02-10 10:47 ` [PATCH v5 RESEND 2/5] ARM: sa1111: " Marek Szyprowski
2016-02-10 16:39 ` Ulf Hansson
2016-02-10 10:47 ` [PATCH v5 RESEND 3/5] driver core: handle -EPROBE_DEFER from bus_type.match() Marek Szyprowski
2016-02-12 3:19 ` Greg Kroah-Hartman [this message]
2016-02-10 10:47 ` [PATCH v5 RESEND 4/5] ARM: amba: Move reading of periphid to amba_match() Marek Szyprowski
2016-02-15 17:52 ` Russell King - ARM Linux
2016-02-16 16:31 ` Russell King - ARM Linux
2016-02-17 7:52 ` Marek Szyprowski
2016-02-17 20:08 ` Russell King - ARM Linux
2016-03-02 10:16 ` Ulf Hansson
2016-04-12 11:39 ` Ulf Hansson
2016-04-12 14:09 ` Marek Szyprowski
2016-04-12 14:09 ` [PATCH v6] drivers: amba: properly handle devices with power domains Marek Szyprowski
2016-04-12 14:49 ` Ulf Hansson
2016-02-10 10:47 ` [PATCH v5 RESEND 5/5] ARM: amba: Properly " Marek Szyprowski
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=20160212031907.GD10157@kroah.com \
--to=gregkh@linuxfoundation$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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