On Sun, Nov 23, 2014 at 1:52 AM, Peng Fan <[email protected]> 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 <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

