summaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-03-23 12:05:01 +0100
committerTakashi Iwai <tiwai@suse.de>2011-03-23 12:05:01 +0100
commitce24f58a1187ca3058d72c3f897e3b574209ab20 (patch)
treef84384469aca4c6660c4f12bee3e99deb16221ec /sound/soc/soc-core.c
parent5a8826463c19b0d1a2fc60b2adac0ec318047844 (diff)
parent333802e90d3f0366c4a1cb767e2783d2e1df73a8 (diff)
Merge branch 'topic/asoc' into for-linus
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 17efacdb248..4dda58926bc 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -259,8 +259,6 @@ static ssize_t codec_reg_write_file(struct file *file,
while (*start == ' ')
start++;
reg = simple_strtoul(start, &start, 16);
- if ((reg >= codec->driver->reg_cache_size) || (reg % step))
- return -EINVAL;
while (*start == ' ')
start++;
if (strict_strtoul(start, 16, &value))