* [RFC PATCH] i2c: use parent adapter quirks in mux
@ 2015-06-12 12:41 Alexander Sverdlin
[not found] ` <557AD36C.6080805-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Sverdlin @ 2015-06-12 12:41 UTC (permalink / raw)
To: Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA
Cc: Lawnick, Michael (Nokia - DE/Ulm), Łukasz Gemborowski
Inherit parent adapter quirks in MUX in case the devices on the multiplexed
buses are interested in the adapter limitations.
Signed-off-by: Łukasz Gemborowski <lukasz.gemborowski-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
---
drivers/i2c/i2c-mux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/i2c-mux.c b/drivers/i2c/i2c-mux.c
index 4bcefdb..6997493 100644
--- a/drivers/i2c/i2c-mux.c
+++ b/drivers/i2c/i2c-mux.c
@@ -141,6 +141,7 @@ struct i2c_adapter *i2c_add_mux_adapter(struct i2c_adapter *parent,
priv->adap.dev.parent = &parent->dev;
priv->adap.retries = parent->retries;
priv->adap.timeout = parent->timeout;
+ priv->adap.quirks = parent->quirks;
/* Sanity check on class */
if (i2c_mux_parent_classes(parent) & class)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH] i2c: use parent adapter quirks in mux
[not found] ` <557AD36C.6080805-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
@ 2015-06-17 12:36 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2015-06-17 12:36 UTC (permalink / raw)
To: Alexander Sverdlin
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
Lawnick, Michael (Nokia - DE/Ulm), Łukasz Gemborowski
[-- Attachment #1: Type: text/plain, Size: 453 bytes --]
On Fri, Jun 12, 2015 at 02:41:16PM +0200, Alexander Sverdlin wrote:
> Inherit parent adapter quirks in MUX in case the devices on the multiplexed
> buses are interested in the adapter limitations.
>
> Signed-off-by: Łukasz Gemborowski <lukasz.gemborowski-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
Applied to for-next with stable added, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-17 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-12 12:41 [RFC PATCH] i2c: use parent adapter quirks in mux Alexander Sverdlin
[not found] ` <557AD36C.6080805-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2015-06-17 12:36 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).