]> Pileus Git - ~andy/linux/blobdiff - include/sound/dmaengine_pcm.h
memcg: update TODO list in Documentation
[~andy/linux] / include / sound / dmaengine_pcm.h
index e7052862d6b2c8e25bbe50fb91455627b9bb691c..f11c35cd5532df9d549bee84fa4d414837ccc2b3 100644 (file)
@@ -87,10 +87,15 @@ void snd_dmaengine_pcm_set_config_from_dai_data(
  */
 #define SND_DMAENGINE_PCM_FLAG_NO_DT BIT(1)
 /*
- * The platforms dmaengine driver does not support reporting the ammount of
+ * The platforms dmaengine driver does not support reporting the amount of
  * bytes that are still left to transfer.
  */
 #define SND_DMAENGINE_PCM_FLAG_NO_RESIDUE BIT(2)
+/*
+ * The PCM is half duplex and the DMA channel is shared between capture and
+ * playback.
+ */
+#define SND_DMAENGINE_PCM_FLAG_HALF_DUPLEX BIT(3)
 
 /**
  * struct snd_dmaengine_pcm_config - Configuration data for dmaengine based PCM