[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240909-fix_amba-v1-0-4658eed26906@quicinc.com>
Date: Mon, 09 Sep 2024 07:37:31 +0800
From: Zijun Hu <zijun_hu@...oud.com>
To: Russell King <linux@...linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Saravana Kannan <saravanak@...gle.com>,
Isaac Manjarres <isaacmanjarres@...gle.com>,
Lu Baolu <baolu.lu@...ux.intel.com>, Zijun Hu <zijun_hu@...oud.com>,
linux-kernel@...r.kernel.org, Zijun Hu <quic_zijuhu@...cinc.com>
Subject: [PATCH RFC 0/3] amba: bus: Move reading periphid operation from
amba_match() to amba_probe()
This patch series is to make amba_match(), as bus_type @amba_bustype's
match(), also follow below ideal rule:
bus_type's match() should only return bool type compatible integer 0 or
1 ideally since its main operations are lookup and comparison normally.
Which has been followed by match() of all other bus_types in current
kernel tree.
Signed-off-by: Zijun Hu <quic_zijuhu@...cinc.com>
---
Zijun Hu (3):
amba: bus: Warn on adding an AMBA device without valid periphid
amba: bus: Move empty @amba_proxy_drv's definition to the front
amba: bus: Move reading periphid operation from amba_match() to amba_probe()
drivers/amba/bus.c | 130 ++++++++++++++++++++++++++---------------------
include/linux/amba/bus.h | 1 -
2 files changed, 72 insertions(+), 59 deletions(-)
---
base-commit: 888f67e621dda5c2804a696524e28d0ca4cf0a80
change-id: 20240829-fix_amba-0f09aa1fc3b1
Best regards,
--
Zijun Hu <quic_zijuhu@...cinc.com>
Powered by blists - more mailing lists