Skip to content

Commit

Permalink
mmc: davinci: modify data types of EDMA related variables
Browse files Browse the repository at this point in the history
Currently DaVinci EDMA driver supports multiple EDMA channel controller
instances.  edma_alloc_channel() api returns a 32 bit value which has the
channel controller number in MSB and the EDMA channel number in LSB.  The
variables which store the value returned by edma_alloc_channel() have to
be 32 bit wide now.

Signed-off-by: Sudhakar Rajashekhara <[email protected]>
Acked-by: Vipin Bhandari <[email protected]>
Cc: Purshotam Kumar <[email protected]>
Acked-by: David Brownell <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Sudhakar Rajashekhara authored and torvalds committed Dec 15, 2009
1 parent b4cff45 commit 3d348aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/host/davinci_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ struct mmc_davinci_host {
u32 buffer_bytes_left;
u32 bytes_left;

u8 rxdma, txdma;
u32 rxdma, txdma;
bool use_dma;
bool do_dma;

Expand All @@ -190,7 +190,7 @@ struct mmc_davinci_host {
struct edmacc_param tx_template;
struct edmacc_param rx_template;
unsigned n_link;
u8 links[NR_SG - 1];
u32 links[NR_SG - 1];

/* For PIO we walk scatterlists one segment at a time. */
unsigned int sg_len;
Expand Down

0 comments on commit 3d348aa

Please sign in to comment.