From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Elie De Brauwer <eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] i2c-mux: Inherit retry count from parent controller for muxed bus.
Date: Mon, 9 Dec 2013 12:08:10 +0100 [thread overview]
Message-ID: <20131209110810.GA2569@katana> (raw)
In-Reply-To: <1386499701-5522-2-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
On Sun, Dec 08, 2013 at 11:48:20AM +0100, Elie De Brauwer wrote:
> Today if a mux i2c bus gets created the default retry count of the
> muxed bus is zero. Hence it it possible that you end up with a
> situation where the parent controller sets a default retry count
> which gets applied and used while the muxed bus (using the same
> controller) has a default retry count of zero. This can be solved
> by initializing the retry count of the muxed bus by the retry count
> of the parent at creation time.
>
> Signed-off-by: Elie De Brauwer <eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Makes sense. Have you checked the timeout value, too?
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-12-09 11:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-08 10:48 [PATCH] Retry count for i2c-mux Elie De Brauwer
[not found] ` <1386499701-5522-1-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-12-08 10:48 ` [PATCH] i2c-mux: Inherit retry count from parent controller for muxed bus Elie De Brauwer
[not found] ` <1386499701-5522-2-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-12-09 11:08 ` Wolfram Sang [this message]
2013-12-09 11:26 ` Elie De Brauwer
2013-12-09 18:48 ` [PATCH v2] i2c-mux: Inherit retry count and timeout from parent " Elie De Brauwer
[not found] ` <1386614908-4872-1-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-12-12 21:40 ` Wolfram Sang
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=20131209110810.GA2569@katana \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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;
as well as URLs for NNTP newsgroup(s).