diff options
author | Hui Wang <jason77.wang@gmail.com> | 2012-06-27 16:19:18 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-06-27 11:12:07 +0200 |
commit | 85f2f834e85517307f13e30e630a5fc86f757cb5 (patch) | |
tree | 397706dd2e9e5d3189ab7d7756dd6f7b0e55eee0 /net | |
parent | 6bc96d047fe32d76ef79f3195c52a542edf7c705 (diff) | |
download | op-kernel-dev-85f2f834e85517307f13e30e630a5fc86f757cb5.zip op-kernel-dev-85f2f834e85517307f13e30e630a5fc86f757cb5.tar.gz |
can: flexcan: use be32_to_cpup to handle the value of dt entry
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: stable <stable@vger.kernel.org> # v3.2+
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions