@@ -139,6 +139,7 @@ static inline unsigned long int since_ns(hptime_t t)
139
139
static bool allow_highspeed = 1 ;
140
140
static int emmc_clock_freq = BCM2708_EMMC_CLOCK_FREQ ;
141
141
static bool sync_after_dma = 1 ;
142
+ static bool missing_status = 1 ;
142
143
143
144
#if 0
144
145
static void hptime_test (void )
@@ -1271,7 +1272,6 @@ static struct sdhci_ops sdhci_bcm2708_ops = {
1271
1272
.spurious_crc_acmd51 = sdhci_bcm2708_quirk_spurious_crc ,
1272
1273
.voltage_broken = sdhci_bcm2708_quirk_voltage_broken ,
1273
1274
.uhs_broken = sdhci_bcm2708_uhs_broken ,
1274
- .missing_status = sdhci_bcm2708_missing_status ,
1275
1275
};
1276
1276
1277
1277
/*****************************************************************************\
@@ -1310,6 +1310,9 @@ static int __devinit sdhci_bcm2708_probe(struct platform_device *pdev)
1310
1310
ret = PTR_ERR (host );
1311
1311
goto err ;
1312
1312
}
1313
+ if (missing_status ) {
1314
+ sdhci_bcm2708_ops .missing_status = sdhci_bcm2708_missing_status ;
1315
+ }
1313
1316
1314
1317
host -> hw_name = "BCM2708_Arasan" ;
1315
1318
host -> ops = & sdhci_bcm2708_ops ;
@@ -1509,6 +1512,7 @@ module_exit(sdhci_drv_exit);
1509
1512
module_param (allow_highspeed , bool , 0444 );
1510
1513
module_param (emmc_clock_freq , int , 0444 );
1511
1514
module_param (sync_after_dma , bool , 0444 );
1515
+ module_param (missing_status , bool , 0444 );
1512
1516
1513
1517
MODULE_DESCRIPTION ("Secure Digital Host Controller Interface platform driver" );
1514
1518
MODULE_AUTHOR (
"Broadcom <[email protected] >" );
@@ -1518,5 +1522,6 @@ MODULE_ALIAS("platform:"DRIVER_NAME);
1518
1522
MODULE_PARM_DESC (allow_highspeed , "Allow high speed transfers modes" );
1519
1523
MODULE_PARM_DESC (emmc_clock_freq , "Specify the speed of emmc clock" );
1520
1524
MODULE_PARM_DESC (sync_after_dma , "Block in driver until dma complete" );
1525
+ MODULE_PARM_DESC (missing_status , "Use the missing status quirk" );
1521
1526
1522
1527
0 commit comments