summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-08 18:56:14 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-08 18:56:14 +0000
commit93c2989706b5d92c1803d3082bd48a9fff0eadb7 (patch)
treea47da76712cc0ac22c494e8af9464f142b7f0734 /target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
parentba38e0585024837bc59c618bdd2adfd42d2d9af8 (diff)
[s3c24xx] refresh patches and fix build failure on wm8753-reg_cache.patch (#5641)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17182 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch b/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
index f7e801ce9..19d44c9ac 100644
--- a/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
+++ b/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
@@ -19,7 +19,7 @@
+ codec->reg_cache = wm8753->reg_cache;
codec->private_data = wm8753;
-- memcpy(codec->reg_cache, wm8753_reg, sizeof(codec->reg_cache));
+- memcpy(codec->reg_cache, wm8753_reg, sizeof(wm8753->reg_cache));
+ memcpy(codec->reg_cache, wm8753_reg, sizeof(wm8753_reg));
INIT_DELAYED_WORK(&codec->delayed_work, wm8753_work);