mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Accelerometer driver unload
@ 2010-08-27 14:33 Yuri Ershov
  2010-08-27 14:33 ` [PATCH 1/2] lis3: Add device owner Yuri Ershov
  0 siblings, 1 reply; 7+ messages in thread
From: Yuri Ershov @ 2010-08-27 14:33 UTC (permalink / raw)
  To: eric.piel, samu.p.onkalo, akpm, daniel
  Cc: ext-yuri.kululin, lm-sensors, linux-kernel, ext-yuri.ershov

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-02  0:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-27 14:33 [PATCH 0/2] Accelerometer driver unload Yuri Ershov
2010-08-27 14:33 ` [PATCH 1/2] lis3: Add device owner Yuri Ershov
2010-08-27 14:33   ` [PATCH 2/2] lis3: Set " Yuri Ershov
2010-09-24 20:27     ` [2/2] " Guenter Roeck
2010-09-24 20:24   ` [1/2] lis3: Add " Guenter Roeck
2010-09-28  8:52     ` Yuri Kululin
2010-10-02  0:03       ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome