]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: spear: Fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 29 Oct 2016 13:58:39 +0000 (15:58 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 8 Nov 2016 03:19:35 +0000 (19:19 -0800)
commitce3409615244e15c677daeb77f3516224cfc613e
tree6e086a868b185d6eda3dea3e698d0c16c77fcb93
parenta909d3e636995ba7c349e2ca5dbb528154d4ac30
ARM: spear: Fix error handling

'clk_get_sys()' returns an error pointer in case of error, not NULL. So
test it with IS_ERR.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-spear/time.c