summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2013-01-04 11:49:43 +0800
committerChen Liangjun <b36089@freescale.com>2013-01-08 13:28:21 +0800
commitb2381e992bea2d1c367ab27202831782e6bc60f3 (patch)
tree7ec9046da112f3305f0fb39e14891d021170c6ce /include
parente6faeea1e6e9863f96d24edbd77bd1d849a80da6 (diff)
ENGR00238813 ASRC: add check before release ASRC pair
Add check before relase ASRC pair to prevent ASRC register operation while clock is not enabled. The ASRC clock is disable while index is not applied. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'include')
-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 37c64b7c2200..7594ee68ae1c 100644
--- a/include/linux/mxc_asrc.h
+++ b/include/linux/mxc_asrc.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2012 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2008-2013 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -34,6 +34,7 @@
#define ASRC_FLUSH _IOW(ASRC_IOC_MAGIC, 7, enum asrc_pair_index)
enum asrc_pair_index {
+ ASRC_UNVALID_PAIR = -1,
ASRC_PAIR_A,
ASRC_PAIR_B,
ASRC_PAIR_C