diff options
author | Chen Liangjun <b36089@freescale.com> | 2012-02-16 16:15:36 +0800 |
---|---|---|
committer | Chen Liangjun <b36089@freescale.com> | 2012-02-17 11:10:17 +0800 |
commit | 2ecf8f34ea53299485e03b581c264bf3309e803a (patch) | |
tree | 32cad7e7b3943f5a50e3f2563864f96741bb057d /include | |
parent | 41dcb354129b74a9ad6ab1ba5b46900f9cc71687 (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')
-rw-r--r-- | include/linux/mxc_asrc.h | 3 |
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); |