linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] i2c: sh_mobile: fix STOP condition generation
@ 2013-01-17  9:45 Guennadi Liakhovetski
       [not found] ` <1358415957-8371-1-git-send-email-g.liakhovetski-Mmb7MZpHnFY@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Guennadi Liakhovetski @ 2013-01-17  9:45 UTC (permalink / raw)
  To: linux-i2c; +Cc: linux-sh, Magnus Damm, Simon Horman

Currently the i2c-sh_mobile.c driver generates STOP conditions after each 
message. This makes any multi-message transfers, e.g. reading, impossible 
with the AS3711 PMIC on kzm9g. This patch series fixes this by only 
generating the STOP condition after the last message or if the I2C_M_STOP 
flag is set.

Guennadi Liakhovetski (4):
  i2c: i2c-sh_mobile.c: cosmetic: trivially simplify 2 functions
  i2c: sh_mobile: fix timeout error handling
  i2c: sh_mobile: eliminate an open-coded "goto" loop
  i2c: sh_mobile: don't send a stop condition by default inside
    transfers

 drivers/i2c/busses/i2c-sh_mobile.c |  152 +++++++++++++++++++++++-------------
 1 files changed, 98 insertions(+), 54 deletions(-)

-- 
1.7.2.5

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-10 14:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17  9:45 [PATCH 0/4] i2c: sh_mobile: fix STOP condition generation Guennadi Liakhovetski
     [not found] ` <1358415957-8371-1-git-send-email-g.liakhovetski-Mmb7MZpHnFY@public.gmane.org>
2013-01-17  9:45   ` [PATCH 1/4] i2c: i2c-sh_mobile.c: cosmetic: trivially simplify 2 functions Guennadi Liakhovetski
2013-01-17  9:45 ` [PATCH 2/4] i2c: sh_mobile: fix timeout error handling Guennadi Liakhovetski
2013-01-17  9:45 ` [PATCH 3/4] i2c: sh_mobile: eliminate an open-coded "goto" loop Guennadi Liakhovetski
2013-01-17  9:45 ` [PATCH 4/4] i2c: sh_mobile: don't send a stop condition by default inside transfers Guennadi Liakhovetski
2013-01-24  7:27 ` [PATCH 0/4] i2c: sh_mobile: fix STOP condition generation Wolfram Sang
     [not found]   ` <20130124072748.GK8364-8EAEigeeuNG034pCzgS/Qg7AFbiQbgqx@public.gmane.org>
2013-02-05  8:45     ` Guennadi Liakhovetski
     [not found]       ` <Pine.LNX.4.64.1302050942140.1275-0199iw4Nj15frtckUFj5Ag@public.gmane.org>
2013-02-10 14:53         ` 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).