summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolin Chen <b42378@freescale.com>2013-09-24 18:13:41 +0800
committerJason Liu <r64343@freescale.com>2013-10-30 09:55:49 +0800
commit0e131a312325944421bf0b155d38fbcabff3da9a (patch)
tree6cfc77f07e83feafc53ce33518a9d66e784cba38 /include
parentde542967bcbff22b3939bb412ac948dd840334a2 (diff)
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 <b42378@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_asrc.h1
1 files changed, 0 insertions, 1 deletions
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;