16b0c0ce83
pwm_id_to_reg() can return NULL, so add NULL testing to prevent NULL pointer dereference. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Stefano Babic <sbabic@denx.de> Acked-by: Heiko Schocher <hs@denx.de> |
||
---|---|---|
.. | ||
Makefile | ||
pwm-imx-util.c | ||
pwm-imx-util.h | ||
pwm-imx.c |