diff options
author | Michael Trimarchi <michael@amarulasolutions.com> | 2016-01-10 00:38:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-10 12:01:12 +0000 |
commit | 0471cd938e244e22f3ead77d2b82230f83e35f69 (patch) | |
tree | ff89f18410640d3946cfe6c528cf4b3aef637ad9 /sound/soc/codecs/pcm179x.h | |
parent | 823733b91619aef5a2be21d0918ef6dd996de72a (diff) | |
download | linux-0471cd938e244e22f3ead77d2b82230f83e35f69.tar.bz2 |
ASoC: pcm1792a: Rename pcm1792a to pcm179x
pcm1792a is compatible with pcm1795 and pcm1796 so it's
better to have them under the common name pcm179x
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm179x.h')
-rw-r--r-- | sound/soc/codecs/pcm179x.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm179x.h b/sound/soc/codecs/pcm179x.h new file mode 100644 index 000000000000..c6fdc062a497 --- /dev/null +++ b/sound/soc/codecs/pcm179x.h @@ -0,0 +1,27 @@ +/* + * definitions for PCM179X + * + * Copyright 2013 Amarula Solutions + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __PCM179X_H__ +#define __PCM179X_H__ + +#define PCM1792A_RATES (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_8000_48000 | \ + SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 | \ + SNDRV_PCM_RATE_192000) + +#define PCM1792A_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \ + SNDRV_PCM_FMTBIT_S16_LE) + +#endif |