diff options
author | Hui Wang <jason77.wang@gmail.com> | 2012-06-27 16:19:18 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 09:04:21 -0700 |
commit | 70f6c28e4621b4c7047e3d4b848fc0393a9789e3 (patch) | |
tree | 3e6421693101c79774074b50b2bbfda7c287551a /samples | |
parent | 8010204c43b1b1543b35972060a0dcaea2cce6fe (diff) | |
download | linux-3.10-70f6c28e4621b4c7047e3d4b848fc0393a9789e3.tar.gz linux-3.10-70f6c28e4621b4c7047e3d4b848fc0393a9789e3.tar.bz2 linux-3.10-70f6c28e4621b4c7047e3d4b848fc0393a9789e3.zip |
can: flexcan: use be32_to_cpup to handle the value of dt entry
commit 85f2f834e85517307f13e30e630a5fc86f757cb5 upstream.
The freescale arm i.MX series platform can support this driver, and
usually the arm cpu works in the little endian mode by default, while
device tree entry value is stored in big endian format, we should use
be32_to_cpup() to handle them, after modification, it can work well
both on the le cpu and be cpu.
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions