X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7ba8f9bfa46df7b89db9e7b352ff59d48137a854..3b3e5ba8ae33cea435682a55af7d1b4024782cd2:/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch?ds=sidebyside 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 c1c4a93ed..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 @@ -1,6 +1,6 @@ ---- a/sound/soc/codecs/wm8753.c 2009-06-28 20:58:43.000000000 +0200 -+++ b/sound/soc/codecs/wm8753.c 2009-06-28 21:24:59.000000000 +0200 -@@ -79,7 +79,7 @@ +--- a/sound/soc/codecs/wm8753.c ++++ b/sound/soc/codecs/wm8753.c +@@ -79,7 +79,7 @@ static const u16 wm8753_reg[] = { 0x0097, 0x0097, 0x0000, 0x0004, 0x0000, 0x0083, 0x0024, 0x01ba, 0x0000, 0x0083, 0x0024, 0x01ba, @@ -9,7 +9,7 @@ }; /* codec private data */ -@@ -1660,11 +1660,11 @@ +@@ -1660,11 +1660,11 @@ static int wm8753_register(struct wm8753 codec->set_bias_level = wm8753_set_bias_level; codec->dai = wm8753_dai; codec->num_dai = 2; @@ -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);