diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-04-28 10:55:02 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-06-08 23:25:17 +0400 |
commit | cef437e3a9b6d229d4ed3730cde047007267df6d (patch) | |
tree | 6a01e75b651988c82d231bc4f6bedb49ea12173a /lib/fault-inject.c | |
parent | 0b47b5703b1cc6c3aa89663ac70e28dadedf6ccc (diff) |
w1: ds2760_battery: add support for sleep mode feature
This adds support for ds2760's sleep mode feature. With this feature
enabled, the chip enters a deep sleep mode and disconnects from the
battery when the w1 line is held down for more than 2 seconds.
This new behaviour can be switched on and off using a new module
parameter.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Szabolcs Gyurko <szabolcs.gyurko@tlt.hu>
Acked-by: Matt Reimer <mreimer@vpop.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions