lkml.org 
[lkml]   [2018]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant
Date
Hi!

There are a couple of users that could benefit from an unlocked variant
of i2c_smbus_xfer. In response to [1] I dusted off an old series that I
have had in a branch for a while that adds such a beast. It also converts
over some users in the i2c-mux department.

There are a couple of remaining candidates in i2c/busses/i2c-amd756-s4882.c
and i2c/busses/i2c-nforce2-s4985.c, but frankly, those are just too nasty.
Why do they unregister the root adapter and then continue to use it? I
dare not touch that code...

Anyway, this series looks like a nice cleanup to me, and the recent sccb
patch from Akinobu Mita could also benefit, as indicated by Wolfram [1].

Cheers,
Peter

[1] https://patchwork.ozlabs.org/patch/928386/#1936016

Peter Rosin (5):
i2c: smbus: add unlocked __i2c_smbus_xfer variant
i2c: mux: mlxcpld: make use of __i2c_smbus_xfer
i2c: mux: pca9541: make use of __i2c_smbus_xfer
i2c: mux: pca954x: make use of __i2c_smbus_xfer
i2c: mux: make use of __i2c_smbus_xfer

drivers/i2c/i2c-core-smbus.c | 28 ++++++++++-----
drivers/i2c/i2c-mux.c | 4 +--
drivers/i2c/muxes/i2c-mux-mlxcpld.c | 28 +++------------
drivers/i2c/muxes/i2c-mux-pca9541.c | 69 ++++++-------------------------------
drivers/i2c/muxes/i2c-mux-pca954x.c | 27 +++------------
include/linux/i2c.h | 11 ++++--
6 files changed, 49 insertions(+), 118 deletions(-)

--
2.11.0

\
 
 \ /
  Last update: 2018-06-20 10:56    [W:0.159 / U:4.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site