]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: sama5d4: Cache MR instead of a partial config
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 30 Jan 2017 17:18:47 +0000 (18:18 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commit722ce6356ddfdcb75ab9379f426a89691b0234de
tree2e48812f2a2b5502da3240642ccf9da156e57fe2
parent8f8dc7bf3e0ab14d1ce1964dbe66ff8acf8779c6
watchdog: sama5d4: Cache MR instead of a partial config

.config is used to cache a part of WDT_MR at probe time and is not used
afterwards. Instead of doing that, actually cache MR and avoid reading it
every time it is modified.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/sama5d4_wdt.c