aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/.svn/text-base/870-hifn795x_byteswap.patch.svn-base
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/generic/patches-3.8/.svn/text-base/870-hifn795x_byteswap.patch.svn-base
downloadtrunk-36060-master.tar.gz
trunk-36060-master.tar.bz2
trunk-36060-master.zip
Diffstat (limited to 'target/linux/generic/patches-3.8/.svn/text-base/870-hifn795x_byteswap.patch.svn-base')
-rw-r--r--target/linux/generic/patches-3.8/.svn/text-base/870-hifn795x_byteswap.patch.svn-base17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.8/.svn/text-base/870-hifn795x_byteswap.patch.svn-base b/target/linux/generic/patches-3.8/.svn/text-base/870-hifn795x_byteswap.patch.svn-base
new file mode 100644
index 0000000..3a37c95
--- /dev/null
+++ b/target/linux/generic/patches-3.8/.svn/text-base/870-hifn795x_byteswap.patch.svn-base
@@ -0,0 +1,17 @@
+--- a/drivers/crypto/hifn_795x.c
++++ b/drivers/crypto/hifn_795x.c
+@@ -682,12 +682,12 @@ static inline u32 hifn_read_1(struct hif
+
+ static inline void hifn_write_0(struct hifn_device *dev, u32 reg, u32 val)
+ {
+- writel((__force u32)cpu_to_le32(val), dev->bar[0] + reg);
++ writel(val, dev->bar[0] + reg);
+ }
+
+ static inline void hifn_write_1(struct hifn_device *dev, u32 reg, u32 val)
+ {
+- writel((__force u32)cpu_to_le32(val), dev->bar[1] + reg);
++ writel(val, dev->bar[1] + reg);
+ }
+
+ static void hifn_wait_puc(struct hifn_device *dev)