]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/i2c.h
i2c: slave: rework the slave API
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 23 Mar 2015 08:26:36 +0000 (09:26 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Mar 2015 15:53:38 +0000 (16:53 +0100)
commit5b77d162a3d7359a8a8d83776720da065bf4e77b
tree84c5ae531f925ddc961ee467736bb62553031b66
parent4a7a08226dd590a139e5f7835fe93f90b3beee90
i2c: slave: rework the slave API

After more discussion, brave users, and additional datasheet evaluation,
some API updates for the new I2C slave framework became imminent. The
slave events now get some easier to understand naming. Also, the event
handling has been simplified to only need a single call to the slave
callback when an action by the backend is required.

Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c
drivers/i2c/i2c-slave-eeprom.c
include/linux/i2c.h