kernel@xxxxxxxxxxxxxxxx writes: > From: Martin Sperl <kernel@xxxxxxxxxxxxxxxx> > > Add additional defines describing the DMA registers > as well as adding some more documentation to those registers. > > Signed-off-by: Martin Sperl <kernel@xxxxxxxxxxxxxxxx> > --- > drivers/dma/bcm2835-dma.c | 54 ++++++++++++++++++++++++++++++++++++++------- > 1 file changed, 46 insertions(+), 8 deletions(-) > > diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c > index 0c04236..7905327 100644 > --- a/drivers/dma/bcm2835-dma.c > +++ b/drivers/dma/bcm2835-dma.c > @@ -99,26 +99,64 @@ struct bcm2835_desc { > > #define BCM2835_DMA_CS 0x00 > #define BCM2835_DMA_ADDR 0x04 > +#define BCM2835_DMA_TI 0x08 > #define BCM2835_DMA_SOURCE_AD 0x0c > #define BCM2835_DMA_DEST_AD 0x10 > -#define BCM2835_DMA_NEXTCB 0x1C > +#define BCM2835_DMA_LEN 0x14 > +#define BCM2835_DMA_STIDE 0x18 s/STIDE/STRIDE/ With that fixed, and optionally Vinod's comment about reformatting the comment changed, Reviewed-by: Eric Anholt <eric@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature