commit | 94e792ab66d696aad2e52c91bae4cfbeefe4c9f6 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Wed May 09 15:49:57 2012 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 09 15:11:30 2012 -0700 |
tree | 7305a6bc6e602c2edbb03dfd7c13168fbafa8145 | |
parent | 642180871bc91afebb6ccf40d1615a7dd33699a3 [diff] |
serial8250-em: clk_get() IS_ERR() error handling fix Update the 8250_em driver to correctly handle the case where no clock is associated with the device. The return value of clk_get() needs to be checked with IS_ERR() to avoid NULL pointer referencing. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>