Commit 254274c
mmc: sdhci: Eliminate SDHCI_QUIRK_UNSTABLE_RO_DETECT
SDHCI_QUIRK_UNSTABLE_RO_DETECT is used by only one driver variant.
It was added in 2011 by commit 82b0e23 ("mmc: sdhci: Fix read-only
detection with JMicron 388 chip").
Simplify sdhci by moving the logic to the only place it is used.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240614080051.4005-4-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>1 parent 8d46e04 commit 254274c
3 files changed
Lines changed: 29 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1319 | 1319 | | |
1320 | 1320 | | |
1321 | 1321 | | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1322 | 1339 | | |
1323 | 1340 | | |
1324 | 1341 | | |
| |||
1403 | 1420 | | |
1404 | 1421 | | |
1405 | 1422 | | |
1406 | | - | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | 1423 | | |
1412 | 1424 | | |
1413 | 1425 | | |
| |||
1462 | 1474 | | |
1463 | 1475 | | |
1464 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1465 | 1482 | | |
1466 | 1483 | | |
1467 | 1484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2513 | 2513 | | |
2514 | 2514 | | |
2515 | 2515 | | |
2516 | | - | |
| 2516 | + | |
2517 | 2517 | | |
| 2518 | + | |
2518 | 2519 | | |
2519 | 2520 | | |
2520 | 2521 | | |
2521 | 2522 | | |
2522 | 2523 | | |
2523 | 2524 | | |
2524 | 2525 | | |
2525 | | - | |
2526 | | - | |
| 2526 | + | |
| 2527 | + | |
2527 | 2528 | | |
2528 | | - | |
| 2529 | + | |
2529 | 2530 | | |
2530 | 2531 | | |
2531 | 2532 | | |
| |||
2539 | 2540 | | |
2540 | 2541 | | |
2541 | 2542 | | |
2542 | | - | |
2543 | | - | |
2544 | | - | |
2545 | | - | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
2549 | | - | |
2550 | | - | |
2551 | | - | |
2552 | | - | |
2553 | | - | |
2554 | | - | |
2555 | | - | |
2556 | | - | |
2557 | | - | |
2558 | | - | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
| 2543 | + | |
2563 | 2544 | | |
2564 | 2545 | | |
2565 | 2546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
| |||
788 | 786 | | |
789 | 787 | | |
790 | 788 | | |
| 789 | + | |
791 | 790 | | |
792 | 791 | | |
793 | 792 | | |
| |||
0 commit comments