From 1f0ef9767e33a7ccac10c8fac1459cd5e1cd9b09 Mon Sep 17 00:00:00 2001 From: Nicolin Chen Date: Tue, 11 Mar 2014 15:35:08 +0800 Subject: 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 --- include/linux/mxc_asrc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/linux') 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; -- cgit v1.2.2