summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-02-16 16:15:36 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:22:55 +0800
commita767f910479a610c12286dd4b3d8d5e114a580eb (patch)
tree986947681d36e1645120e07ab2c2bcb74abadea0 /include/linux
parent30f7cdc5280b23b50a49c988061b231a1eddc548 (diff)
ENGR00174732 ASRC:close core clock if ASRC idle
Close ASRC core clock when ASRC device is not used. Open ASRC core clock when an ASRC device is open. Close ASRC core clock when an ASRC device is close. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mxc_asrc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h
index a8d8b8bc474a..516b0b69f286 100644
--- a/include/linux/mxc_asrc.h
+++ b/include/linux/mxc_asrc.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2008-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -197,6 +197,7 @@ struct asrc_pair_params {
struct asrc_data {
struct asrc_pair asrc_pair[3];
+ unsigned int counter;
};
extern int asrc_req_pair(int chn_num, enum asrc_pair_index *index);