summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/omap_wdt.c
diff options
context:
space:
mode:
authorAxel Lin2012-12-22 04:07:01 +0100
committerWim Van Sebroeck2013-01-02 12:06:49 +0100
commit98e4a293895dda2b74476ac3a9f79c58b5d0155a (patch)
treed79ceba10dcf42c5c416b685aa80b2f047054d6b /drivers/watchdog/omap_wdt.c
parentwatchdog: da9055: Fix invalid free of devm_ allocated data (diff)
downloadkernel-qcow2-linux-98e4a293895dda2b74476ac3a9f79c58b5d0155a.tar.gz
kernel-qcow2-linux-98e4a293895dda2b74476ac3a9f79c58b5d0155a.tar.xz
kernel-qcow2-linux-98e4a293895dda2b74476ac3a9f79c58b5d0155a.zip
watchdog: da9055: Don't update wdt_dev->timeout in da9055_wdt_set_timeout error path
Otherwise, WDIOC_GETTIMEOUT returns wrong value if set_timeout fails. This patch also removes unnecessary ret variable in da9055_wdt_ping function. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/omap_wdt.c')
0 files changed, 0 insertions, 0 deletions