commit | 98e4a293895dda2b74476ac3a9f79c58b5d0155a | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Dec 22 11:07:01 2012 +0800 |
committer | Wim Van Sebroeck <wim@iguana.be> | Wed Jan 02 12:06:49 2013 +0100 |
tree | d79ceba10dcf42c5c416b685aa80b2f047054d6b | |
parent | ee8c94adff9bd8609e70fb2ecdfaa71f561ed40d [diff] |
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>