diff options
| author | Shrirang Bagul <shrirang.bagul@canonical.com> | 2017-04-19 22:05:00 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-24 10:58:44 +0100 |
| commit | 50f7d70a3f70c3e11eb31cb504a870318fa0cdd6 (patch) | |
| tree | cc7507024b85beef922949f1001a0197acc2f73c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 99478468e83c481cc7af268d222065fe1de7a338 (diff) | |
iio: st_pressure: st_accel: Initialise sensor platform data properly
[ Upstream commit 7383d44b84c94aaca4bf695a6bd8a69f2295ef1a ]
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@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
