Skip to content

Commit

Permalink
ASoC: Remove unused DAI format defines
Browse files Browse the repository at this point in the history
The defines for TDM and synchronous clocks are not used - they are
mostly a legacy of the automatic clocking configuration.  TDM will
require configuration of the number of timeslots and which ones to use
so can't be fit into the DAI format and synchronous mode is handled by
symmetric_rates (and needs to be done by constraints rather than when
the DAI format is being configured).

Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
broonie committed May 2, 2009
1 parent 33f503c commit 4072604
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions include/sound/soc-dai.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,6 @@ struct snd_pcm_substream;
#define SND_SOC_DAIFMT_CONT (0 << 4) /* continuous clock */
#define SND_SOC_DAIFMT_GATED (1 << 4) /* clock is gated */

/*
* DAI Left/Right Clocks.
*
* Specifies whether the DAI can support different samples for similtanious
* playback and capture. This usually requires a seperate physical frame
* clock for playback and capture.
*/
#define SND_SOC_DAIFMT_SYNC (0 << 5) /* Tx FRM = Rx FRM */
#define SND_SOC_DAIFMT_ASYNC (1 << 5) /* Tx FRM ~ Rx FRM */

/*
* TDM
*
* Time Division Multiplexing. Allows PCM data to be multplexed with other
* data on the DAI.
*/
#define SND_SOC_DAIFMT_TDM (1 << 6)

/*
* DAI hardware signal inversions.
*
Expand Down

0 comments on commit 4072604

Please sign in to comment.