On 23/11/2014 04:52, Peng Fan 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....@freescale.com> > ---
Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot