[PATCH 0/2] Accelerometer driver unload

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yuri Ershov
Date: Friday, August 27, 2010 - 7:33 am

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(-)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Accelerometer driver unload, Yuri Ershov, (Fri Aug 27, 7:33 am)
[PATCH 1/2] lis3: Add device owner, Yuri Ershov, (Fri Aug 27, 7:33 am)
Re: [1/2] lis3: Add device owner, Guenter Roeck, (Fri Sep 24, 1:24 pm)
Re: [1/2] lis3: Add device owner, Yuri Kululin, (Tue Sep 28, 1:52 am)
Re: [1/2] lis3: Add device owner, Guenter Roeck, (Fri Oct 1, 5:03 pm)