From: Wolfram Sang <wsa@the-dreams.de>
To: ying.zhang22455@nxp.com
Cc: linux-i2c@vger.kernel.org, xiaobo.xie@nxp.com, york.sun@nxp.com,
Ying Zhang <b40530@freescale.com>
Subject: Re: [PATCH 2/2] drivers/i2c/i2c-imx.c: improve i2c bus error recovery
Date: Thu, 3 Mar 2016 22:37:13 +0100 [thread overview]
Message-ID: <20160303213713.GG1501@katana> (raw)
In-Reply-To: <1453884283-33414-2-git-send-email-ying.zhang22455@nxp.com>
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
On Wed, Jan 27, 2016 at 04:44:43PM +0800, ying.zhang22455@nxp.com wrote:
> From: Ying Zhang <b40530@freescale.com>
>
> When a system reset does not cause all I2C devices to be reset, slave can
> hold bus low to cause bus hang.
> It is necessary to force the I2C module to become the I2C bus master out
> of reset and drive SCL.
>
> The patch fixup the bus if a hang has been detected.
>
> Signed-off-by: Ying Zhang <b40530@freescale.com>
Can't you make use of the generic recovery infrastructure using struct
i2c_bus_recovery_info?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-03-03 21:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-27 8:44 [PATCH 1/2] i2c: ls1/ls2: add workaround for erratum ERR010027 ying.zhang22455
2016-01-27 8:44 ` [PATCH 2/2] drivers/i2c/i2c-imx.c: improve i2c bus error recovery ying.zhang22455
2016-03-03 21:37 ` Wolfram Sang [this message]
2016-04-26 21:29 ` [PATCH 1/2] i2c: ls1/ls2: add workaround for erratum ERR010027 Wolfram Sang
2016-04-26 21:30 ` 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=20160303213713.GG1501@katana \
--to=wsa@the-dreams.de \
--cc=b40530@freescale.com \
--cc=linux-i2c@vger.kernel.org \
--cc=xiaobo.xie@nxp.com \
--cc=ying.zhang22455@nxp.com \
--cc=york.sun@nxp.com \
/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.