diff options
author | Dave Martin <dave.martin@linaro.org> | 2011-12-02 16:58:18 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-09 16:18:18 -0800 |
commit | 8ad028bd973ec1ead4982e21ab0400c956aff4b5 (patch) | |
tree | f0dcf9ff3aa668698f794bb29b6a3733ac5a218b /drivers/usb/host/whci/qset.c | |
parent | 7fb57a019f94ea0c1290c39b8da753be155af41c (diff) | |
download | op-kernel-dev-8ad028bd973ec1ead4982e21ab0400c956aff4b5.zip op-kernel-dev-8ad028bd973ec1ead4982e21ab0400c956aff4b5.tar.gz |
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>
Diffstat (limited to 'drivers/usb/host/whci/qset.c')
0 files changed, 0 insertions, 0 deletions