Skip to content

Commit

Permalink
mmc: disable SPI CRC
Browse files Browse the repository at this point in the history
CRC errors on SPI bus usually means there is something wrong with the
hardware(unstable voltage, wiring, etc).

Disable SPI CRC in favor of improving performance as the cost of
detecting hardware errors are too high, and not all that useful.

Signed-off-by: Park Ju Hyung <[email protected]>
Signed-off-by: Alexander Winkowski <[email protected]>
  • Loading branch information
arter97 authored and dereference23 committed Feb 10, 2022
1 parent 2adbbf2 commit 88d356e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static const unsigned freqs[] = { 400000, 300000, 200000, 100000 };
* performance cost, and for other reasons may not always be desired.
* So we allow it it to be disabled.
*/
bool use_spi_crc = 1;
bool use_spi_crc = 0;
module_param(use_spi_crc, bool, 0);

static int mmc_schedule_delayed_work(struct delayed_work *work,
Expand Down

0 comments on commit 88d356e

Please sign in to comment.