commit | 8ad028bd973ec1ead4982e21ab0400c956aff4b5 | [log] [tgz] |
---|---|---|
author | Dave Martin <dave.martin@linaro.org> | Fri Dec 02 16:58:18 2011 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 09 16:18:18 2011 -0800 |
tree | f0dcf9ff3aa668698f794bb29b6a3733ac5a218b | |
parent | 7fb57a019f94ea0c1290c39b8da753be155af41c [diff] |
USB: isp1760: Fix endianness-sensitivity in of_isp1760_probe() Data read direct from device tree properties will be in the device tree's native endianness (i.e., big-endian). This patch uses of_property_read_u32() to read the bus-width property in host byte order instead. Signed-off-by: Dave Martin <dave.martin@linaro.org> Acked-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>