
24 Nov
2014
24 Nov
'14
1:38 a.m.
On Sun, Nov 23, 2014 at 1:52 AM, Peng Fan Peng.Fan@freescale.com wrote:
mxc_get_clock's return type is unsigned int. 'return -1' is same with 'return 0xffffffff', so 0 should be used as the return value when unsupported mxc_clock type is passed to mxc_get_clock.
Also include an err message when unsupported mxc_clock type is passed to mxc_get_clock.
Signed-off-by: Peng Fan Peng.Fan@freescale.com
Reviewed-by: Fabio Estevam fabio.estevam@freescale.com