summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@amd.com>2012-07-03 14:16:11 +0800
committerChris Ball <cjb@laptop.org>2012-07-22 15:25:47 -0400
commita39ca6ae0a08994a59d017a445939e164bc77fd5 (patch)
treec5e9f493c51f00e3ce6de5cdd5bd4081b8cb2a7f /drivers/ata/pata_via.c
parentb67c6b411dcf17199e1dfdf18da8b1c6caf73e6e (diff)
mmc: core: Simplify and fix for SD switch processing
In mmc_read_switch, just do a one time mode 0 switch command to get the support bits information, no need to do multiple times as the support bits do not change with different arguments. And no need to check current limit support bits, as these bits are fixed according to the signal voltage. If the signal voltage is 1.8V, the support bits would be 0xf and if the signal voltage is 3.3V, the support bits would be 0x01. We will check host's ability to set the current limit. Signed-off-by: Aaron Lu <aaron.lu@amd.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/ata/pata_via.c')
0 files changed, 0 insertions, 0 deletions