mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: mfe@pengutronix.de
Subject: Re: [PATCH 1/6] driver: make struct bus_type::match optional
Date: Thu, 29 Feb 2024 09:10:41 +0100	[thread overview]
Message-ID: <170919424131.1664207.12843256365344264527.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240228160518.1589193-1-a.fatoum@pengutronix.de>


On Wed, 28 Feb 2024 17:05:13 +0100, Ahmad Fatoum wrote:
> Newly introduce soc_bus_type doesn't define .match, which would crash
> once a driver is registered on that bus. Do as Linux does and treat a
> non-existent match callback as meaning that all drivers should be
> matched and that the probe function should indicate via -ENODEV/-ENXIO
> whether a device is indeed suitable.
> 
> 
> [...]

Applied, thanks!

[1/6] driver: make struct bus_type::match optional
      https://git.pengutronix.de/cgit/barebox/commit/?id=78096501a5f9 (link may not be stable)
[2/6] driver: make struct bus_type::probe optional
      https://git.pengutronix.de/cgit/barebox/commit/?id=15a18149a615 (link may not be stable)
[3/6] treewide: remove bus probe functions that just call driver probe
      https://git.pengutronix.de/cgit/barebox/commit/?id=5ec36ba8cad4 (link may not be stable)
[4/6] usb: otg: maintain list of USB OTG controllers
      https://git.pengutronix.de/cgit/barebox/commit/?id=8489b552f071 (link may not be stable)
[5/6] usb: otg: turn global otg device into device alias
      https://git.pengutronix.de/cgit/barebox/commit/?id=eb633952b0be (link may not be stable)
[6/6] usb: print number of skipped OTG controllers when scanning
      https://git.pengutronix.de/cgit/barebox/commit/?id=0b90c781d183 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      parent reply	other threads:[~2024-02-29  8:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 16:05 Ahmad Fatoum
2024-02-28 16:05 ` [PATCH 2/6] driver: make struct bus_type::probe optional Ahmad Fatoum
2024-02-28 16:05 ` [PATCH 3/6] treewide: remove bus probe functions that just call driver probe Ahmad Fatoum
2024-02-28 16:05 ` [PATCH 4/6] usb: otg: maintain list of USB OTG controllers Ahmad Fatoum
2024-02-28 16:05 ` [PATCH 5/6] usb: otg: turn global otg device into device alias Ahmad Fatoum
2024-02-28 16:05 ` [PATCH 6/6] usb: print number of skipped OTG controllers when scanning Ahmad Fatoum
2024-02-29  8:10 ` Sascha Hauer [this message]

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=170919424131.1664207.12843256365344264527.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=mfe@pengutronix.de \
    /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