]> git.baikalelectronics.ru Git - kernel.git/commit
serial: MIPS: lantiq: fix clock error check
authorJohn Crispin <blogic@openwrt.org>
Fri, 9 Aug 2013 18:54:31 +0000 (20:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 18:37:48 +0000 (11:37 -0700)
commitdcbbff0d47837eb2925153eb89c2c9b1da41df1e
tree2adff5317d7664ed6fbac7fb7c9b1556a8d98e7e
parenta7b8d9c4200a04ed561f88ac87ebef5ca798ccbb
serial: MIPS: lantiq: fix clock error check

The clock should be checked with the proper IS_ERR() api before using it.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/lantiq.c