imx: mx6sx: Fix issue in LCDIF clock enablement
authorYe Li <ye.li@nxp.com>
Tue, 26 Jan 2016 14:01:57 +0000 (22:01 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 2 Feb 2016 20:25:05 +0000 (21:25 +0100)
commit9655ebdd50c42f24179d738e4e6230c048f41de1
treea75ed30c46eaa9fea29f4fe8655444a245b53d38
parent6967c97fdb722b26859a6dab0bfcdba9a892d146
imx: mx6sx: Fix issue in LCDIF clock enablement

Wrong checking for the base_addr paramter with LCDIF1 and LCDIF2. Always
enter the -EINVAL return.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx6/clock.c