diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-05-13 17:39:28 +0800 |
---|---|---|
committer | Nicolin Chen <b42378@freescale.com> | 2013-07-10 18:16:54 +0800 |
commit | 6ea66e8d56f8b2f741852b4863f308924080df79 (patch) | |
tree | e3f95bef58d1b33819e62cf31617d85390cfa474 /include | |
parent | 88bd5dc3b7f51a293417e68d827c0a213ba2a9e0 (diff) |
ENGR00265414-4 mxc: asrc: Reconstruct req_pair()
The old req_pair() constrained that only Pair B could afford 6 channels,
while actually not. So rewrite it to be more flexible.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
(cherry picked from commit adbc9dbba6ee46c05c0878a8e3bab118981d62c7)
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mxc_asrc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h index 99f39a4744c6..8de07b92b0ac 100644 --- a/include/linux/mxc_asrc.h +++ b/include/linux/mxc_asrc.h @@ -40,6 +40,8 @@ enum asrc_pair_index { ASRC_PAIR_C }; +#define ASRC_PAIR_MAX_NUM (ASRC_PAIR_C + 1) + enum asrc_inclk { INCLK_NONE = 0x03, INCLK_ESAI_RX = 0x00, |