From 0e131a312325944421bf0b155d38fbcabff3da9a Mon Sep 17 00:00:00 2001 From: Nicolin Chen Date: Tue, 24 Sep 2013 18:13:41 +0800 Subject: ENGR00280852-3 mxc: asrc: Use regmap to control register accessing Dropped the legency readl/writel() and use regmap instead. Also removed core clock's clk_prepare() and spin_lock()/unlock() outside regmap due to regmap already has these features. This patch also added a missing writable register to the regmap in order to assure the regsiter updating success. Signed-off-by: Nicolin Chen --- include/linux/mxc_asrc.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h index ef56f3270b96..4397b9713a75 100644 --- a/include/linux/mxc_asrc.h +++ b/include/linux/mxc_asrc.h @@ -349,7 +349,6 @@ struct asrc_data { struct asrc_pair asrc_pair[3]; struct proc_dir_entry *proc_asrc; struct regmap *regmap; - unsigned long vaddr; unsigned long paddr; struct class *asrc_class; int asrc_major; -- cgit v1.2.3