All of lore.kernel.org
 help / color / mirror / Atom feed
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 v2] i2c-mux: Inherit retry count and timeout from parent for muxed bus.
Date: Thu, 12 Dec 2013 22:40:33 +0100	[thread overview]
Message-ID: <20131212214033.GF19381@katana> (raw)
In-Reply-To: <1386614908-4872-1-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

On Mon, Dec 09, 2013 at 07:48:28PM +0100, Elie De Brauwer wrote:
> If a muxed i2c bus gets created the default retry count and
> timeout 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 and timeout which gets applied and used while the muxed
> bus (using the same controller) has a default retry count of zero
> and a default timeout of 1s (set in i2c_add_adapter()). This can be
> solved by initializing the retry count and timeout of the muxed
> bus with the values used by the the parent at creation time.
> 
> Signed-off-by: Elie De Brauwer <eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Applied to for-current, thanks, good catch!


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      parent reply	other threads:[~2013-12-12 21:40 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
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 [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=20131212214033.GF19381@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.