X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ee7bcf1bc1069d88388701bac76c223c6b491dba..9ee3790b2ad1c280570dd7beaeb112c7fce7b314:/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch?ds=inline 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);