diff options
| author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-03-11 03:35:08 -0400 |
|---|---|---|
| committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:57:54 -0400 |
| commit | 1f0ef9767e33a7ccac10c8fac1459cd5e1cd9b09 (patch) | |
| tree | 14654efd365f40a56459220c0b2258f411dc6fd0 /include/linux | |
| 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/linux')
| -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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright 2008-2013 Freescale Semiconductor, Inc. All Rights Reserved. | 2 | * Copyright 2008-2014 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | * | 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public | 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License | 5 | * License. You may obtain a copy of the GNU General Public License |
| @@ -349,7 +349,9 @@ struct asrc_data { | |||
| 349 | struct proc_dir_entry *proc_asrc; | 349 | struct proc_dir_entry *proc_asrc; |
| 350 | struct class *asrc_class; | 350 | struct class *asrc_class; |
| 351 | struct regmap *regmap; | 351 | struct regmap *regmap; |
| 352 | struct clk *asrc_clk; | 352 | struct clk *mem_clk; |
| 353 | struct clk *ipg_clk; | ||
| 354 | struct clk *asrck_clk; | ||
| 353 | struct clk *dma_clk; | 355 | struct clk *dma_clk; |
| 354 | unsigned long paddr; | 356 | unsigned long paddr; |
| 355 | unsigned int channel_bits; | 357 | unsigned int channel_bits; |
