[PATCH 0/2] Accelerometer driver unload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I2C part of lis3 accelerometer driver can be unloaded while in use which may
cause kernel oops.

These patches allow to change /dev/freefall file ops owner to prevent driver
unloading while device in use.

Please review.

Best regards,
Yuri

Yuri Kululin (2):
  lis3: Add device owner
  lis3: Set device owner

 drivers/hwmon/lis3lv02d.c     |    8 ++++++--
 drivers/hwmon/lis3lv02d.h     |    2 ++
 drivers/hwmon/lis3lv02d_i2c.c |    2 ++
 3 files changed, 10 insertions(+), 2 deletions(-)

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux