summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/am35x.c
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-12-04 15:17:07 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:27 +0800
commit9345c99eb5e4dcb1b16161aa7f1876865e25006e (patch)
tree4260d9539d0ce5ce54089eb0d6610a7c88d4aa9b /drivers/usb/musb/am35x.c
parent036b71e1cd77ddb1827fd85eb7035fb7eccb7b12 (diff)
downloadu-boot-imx-9345c99eb5e4dcb1b16161aa7f1876865e25006e.zip
u-boot-imx-9345c99eb5e4dcb1b16161aa7f1876865e25006e.tar.gz
u-boot-imx-9345c99eb5e4dcb1b16161aa7f1876865e25006e.tar.bz2
MLK-11952 Video: IPU: Fix dereferencing NULL pointer problem
By Coverity check, the clk_set_rate function dereferences the clk pointer without checking whether it is NULL. This may cause problem when clk is NULL. Fix the problem by adding NULL check. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit ded2f2958d568411274eeecd265fcc1181638335) (cherry picked from commit b58ac1502391d87470918ff8d172b2b8dc1e7a68)
Diffstat (limited to 'drivers/usb/musb/am35x.c')
0 files changed, 0 insertions, 0 deletions