diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-03-11 15:35:08 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:57:54 -0500 |
commit | 1f0ef9767e33a7ccac10c8fac1459cd5e1cd9b09 (patch) | |
tree | 14654efd365f40a56459220c0b2258f411dc6fd0 /include | |
parent | 218e284028e5674f18a05ae421f4292331b2cae5 (diff) |
ENGR00303122-1 mxc: asrc: Fix asrc clocks management
ASRC needs three clocks from SoC, they are:
mem_clk: Peripheral access clock
ipg_clk: Peripheral clock
asrck_clk: ASRC module clock
while the current driver only maintains two of them and has confusing
clock names. Thus fix it.
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mxc_asrc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h index 1131189540f6..98db3d587f43 100644 --- a/include/linux/mxc_asrc.h +++ b/include/linux/mxc_asrc.h @@ -1,5 +1,5 @@ /* - * Copyright 2008-2013 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2008-2014 Freescale Semiconductor, Inc. All Rights Reserved. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License @@ -349,7 +349,9 @@ struct asrc_data { struct proc_dir_entry *proc_asrc; struct class *asrc_class; struct regmap *regmap; - struct clk *asrc_clk; + struct clk *mem_clk; + struct clk *ipg_clk; + struct clk *asrck_clk; struct clk *dma_clk; unsigned long paddr; unsigned int channel_bits; |