Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490616

Re: [PATCH v2] i2c: uniphier-f: fix misdetection of incomplete STOP condition

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2] i2c: uniphier-f: fix misdetection of incomplete STOP condition
Date 2016-09-24 11:30 +0200
Message-ID <skRrr-7FA-9@gated-at.bofh.it> (permalink)
References <skyRQ-4e3-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Sep 23, 2016 at 10:34:41PM +0900, Masahiro Yamada wrote:
> Currently, the status register FI2C_SR is checked immediately after
> a STOP condition is issued in case of the deferred STOP condition.
> It takes typically 5-10 usec until the corresponding bits in the
> register are set, so the error check for "stop condition was not
> completed" is very likely to be false positive.
> 
> Add wait code to relax the status register check.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Applied to for-next, thanks!

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] i2c: uniphier-f: fix misdetection of incomplete STOP condition Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-23 15:40 +0200
  Re: [PATCH v2] i2c: uniphier-f: fix misdetection of incomplete STOP  condition Wolfram Sang <wsa@the-dreams.de> - 2016-09-24 11:30 +0200

csiph-web