summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-snvs.c
diff options
context:
space:
mode:
authorMoritz Fischer <mdf@kernel.org>2017-04-25 01:05:12 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-05-04 15:46:25 +0300
commit538c08f4c89580fc644e2bc64e0a4b86c925da4e (patch)
treedc438ec168a2b840151df09f631d8ab06b753d2b /drivers/rtc/rtc-snvs.c
parent453d0744f6c6ca3f9749b8c57c2e85b5b9f52514 (diff)
downloadlinux-538c08f4c89580fc644e2bc64e0a4b86c925da4e.tar.xz
rtc: ds1374: wdt: Fix stop/start ioctl always returning -EINVAL
The WDIOC_SETOPTIONS case in the watchdog ioctl would alwayss falls through to the -EINVAL case. This is wrong since thew watchdog does actually get stopped or started correctly. Fixes: 920f91e50c5b ("drivers/rtc/rtc-ds1374.c: add watchdog support") Signed-off-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-snvs.c')
0 files changed, 0 insertions, 0 deletions