]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: svc watchdog: allow it to be enabled/disabled from userspace
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 26 Jan 2016 23:17:08 +0000 (15:17 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 27 Jan 2016 01:06:29 +0000 (17:06 -0800)
commitd562853d3ecc31806412635adcc590b33621b0c0
treea195b39ee4e778439a45690c194c53063140b34c
parent7030f9246b55b7c186bd4bd8217162874fe29002
greybus: svc watchdog: allow it to be enabled/disabled from userspace

Sometimes you want to disable the SVC watchdog without having to patch
your kernel, so provide a sysfs file to do this.  This can let us do
power measurements, and let the firmware developers not go crazy
worrying that the kernel is going to reset their chips with no notice.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Documentation/sysfs-bus-greybus
drivers/staging/greybus/svc.c
drivers/staging/greybus/svc.h
drivers/staging/greybus/svc_watchdog.c