Home
last modified time | relevance | path

Searched hist:"7 d82d897722f57389ebe15924f47fab452cc3a19" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/gpio/
H A Dat91_gpio.c7d82d897722f57389ebe15924f47fab452cc3a19 Wed May 07 08:50:45 UTC 2014 Wu, Josh <Josh.wu@atmel.com> gpio: at91: add sanity check for the NULL pointer

We need check the NULL pointer as at91_pio_get_port() may return NULL.

Also print a error message when at91_pio_get_port() failed otherwise we
cannot notice the failure.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>