ACK w/cmt: [PATCH][Xenial SRU] UBUNTU: SAUCE: (no-up) iio: st_pressure: st_accel: Initialise sensor platform data properly

Seth Forshee seth.forshee at canonical.com
Wed May 17 14:11:09 UTC 2017


On Fri, May 12, 2017 at 08:30:35PM +0800, Shrirang Bagul wrote:
> BugLink http://bugs.launchpad.net/bugs/1690310
> 
> This patch fixes the sensor platform data initialisation for st_pressure
> and st_accel device drivers. Without this patch, the driver fails to
> register the sensors when the user removes and re-loads the driver.
> 
> 1. Unload the kernel modules for st_pressure
> $ sudo rmmod st_pressure_i2c
> $ sudo rmmod st_pressure
> 
> 2. Re-load the driver
> $ sudo insmod st_pressure
> $ sudo insmod st_pressure_i2c
> 
> Signed-off-by: Jonathan Cameron <jic23 at kernel.org>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> (cherry picked from commit 7383d44b84c94aaca4bf695a6bd8a69f2295ef1a)
> Signed-off-by: Shrirang Bagul <shrirang.bagul at canonical.com>

Patch looks okay, however when cherry picking from somewhere other than
Linus' tree you need to indicate what repo the patch came from. In this
case:

(cherry picked from commit 7383d44b84c94aaca4bf695a6bd8a69f2295ef1a
 git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git)

Assuming that is fixed when this is applied:

Acked-by: Seth Forshee <seth.forshee at canonical.com>




More information about the kernel-team mailing list