ASoC: davinci-mcasp: Use defines for clkdiv IDs
Instead of hardwired IDs add defines for the available dividers. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
1935736663
commit
20d4b10730
@@ -306,4 +306,9 @@
|
||||
#define NUMEVT(x) (((x) & 0xFF) << 8)
|
||||
#define NUMDMA_MASK (0xFF)
|
||||
|
||||
/* clock divider IDs */
|
||||
#define MCASP_CLKDIV_AUXCLK 0 /* HCLK divider from AUXCLK */
|
||||
#define MCASP_CLKDIV_BCLK 1 /* BCLK divider from HCLK */
|
||||
#define MCASP_CLKDIV_BCLK_FS_RATIO 2 /* to set BCLK FS ration */
|
||||
|
||||
#endif /* DAVINCI_MCASP_H */
|
||||
|
Reference in New Issue
Block a user