summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-08 18:56:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-08 18:56:14 +0000
commitb8af58d3e7b2c350aa139aa2fd523f39ef40b6f2 (patch)
tree9a0561641656ef42394a72f9f7d7d53a1425d9d6 /target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
parentbb5a40c64b7c4f4848509fa0a6625055fc9e66cc (diff)
downloadmtk-20170518-b8af58d3e7b2c350aa139aa2fd523f39ef40b6f2.zip
mtk-20170518-b8af58d3e7b2c350aa139aa2fd523f39ef40b6f2.tar.gz
mtk-20170518-b8af58d3e7b2c350aa139aa2fd523f39ef40b6f2.tar.bz2
refresh patches and fix build failure on wm8753-reg_cache.patch (#5641)
SVN-Revision: 17182
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 f7e801c..19d44c9 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);