Skip to contentSkip to conversation

Documentation: Use DMA_BIT_MASK(24) instead of 0x00ffffff

PATCH New Marin Mitov 1 participant 1 message Oct 7, 2009 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: Use DMA_BIT_MASK(24) instead of 0x00ffffff

Hi all,

Use DMA_BIT_MASK(24) instead of 0x00ffffff in DMA-mapping.txt

The patch is against 2.6.32-rc3

======================================================

Documentation/DMA-mapping.txt +1 -1
@@ -214,7 +214,7 @@
 Here is pseudo-code showing how this might be done:
 
 	#define PLAYBACK_ADDRESS_BITS	DMA_BIT_MASK(32)
-	#define RECORD_ADDRESS_BITS	0x00ffffff
+	#define RECORD_ADDRESS_BITS	DMA_BIT_MASK(24)
 
 	struct my_sound_card *card;
 	struct pci_dev *pdev;