Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142570
b: refs/heads/master
c: 96a6d9a
h: refs/heads/master
v: v3
  • Loading branch information
Mike Rapoport authored and Linus Torvalds committed Apr 7, 2009
1 parent fcb38a2 commit b1d9f6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ad0ba91d47ff539fe114875bd0a319fba29c9b5
refs/heads/master: 96a6d9aa096aeb758273a8fb6388c279ecef5e7e
2 changes: 2 additions & 0 deletions trunk/drivers/spi/spi_imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
#define QUEUE_STOPPED (1)

#define IS_DMA_ALIGNED(x) (((u32)(x) & 0x03) == 0)
#define DMA_ALIGNMENT 4
/*-------------------------------------------------------------------------*/


Expand Down Expand Up @@ -1482,6 +1483,7 @@ static int __init spi_imx_probe(struct platform_device *pdev)

master->bus_num = pdev->id;
master->num_chipselect = platform_info->num_chipselect;
master->dma_alignment = DMA_ALIGNMENT;
master->cleanup = cleanup;
master->setup = setup;
master->transfer = transfer;
Expand Down

0 comments on commit b1d9f6f

Please sign in to comment.