Title: [7837] trunk/drivers/net/wireless/adf702x.c: adf702x: use new DP_SLEN() macro and make sure the sport MMRs are volatile
- Revision
- 7837
- Author
- vapier
- Date
- 2009-11-17 10:43:01 -0500 (Tue, 17 Nov 2009)
Log Message
adf702x: use new DP_SLEN() macro and make sure the sport MMRs are volatile
Modified Paths
Diff
Modified: trunk/drivers/net/wireless/adf702x.c (7836 => 7837)
--- trunk/drivers/net/wireless/adf702x.c 2009-11-17 15:40:30 UTC (rev 7836)
+++ trunk/drivers/net/wireless/adf702x.c 2009-11-17 15:43:01 UTC (rev 7837)
@@ -51,7 +51,7 @@
u32 *tx_buf;
/* Base reg base of SPORT controller */
- struct sport_register *sport;
+ volatile struct sport_register *sport;
unsigned dma_ch_rx;
unsigned dma_ch_tx;
unsigned irq_sport_err;
@@ -239,9 +239,9 @@
{
struct adf702x_platform_data *pdata = lp->spi->dev.platform_data;
- lp->sport->tcr2 = SLEN(32-1);
+ lp->sport->tcr2 = DP_SLEN(32-1);
lp->sport->tcr1 = TCKFE | LATFS | DITFS | ITFS;
- lp->sport->rcr2 = SLEN(32-1);
+ lp->sport->rcr2 = DP_SLEN(32-1);
lp->sport->rcr1 = RCKFE | LARFS;
/*
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits