summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208/sd.c
diff options
context:
space:
mode:
authorBenjamin Philip <benjamin.philip495@gmail.com>2021-09-21 13:03:49 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-21 17:30:55 +0200
commit51a72ec705dfa7f5ae2a70041cdbc53804ba6ee8 (patch)
tree7ff5b04aecc0ec01c9c03a3d7677b22d6d40ea4d /drivers/staging/rts5208/sd.c
parent37c56de8fe9ddb9d2e369d5b897c1d6f6ef072a8 (diff)
downloadlinux-51a72ec705dfa7f5ae2a70041cdbc53804ba6ee8.tar.bz2
staging: rts5208: remove parentheses pair in sd.c
I had missed a single parentheses pair in the commit for sd.c. This commit removes the pair I missed. Signed-off-by: Benjamin Philip <benjamin.philip495@gmail.com> Link: https://lore.kernel.org/r/4a56facd2c04a321b091d3b7dbea87168e8ddd6e.1632209460.git.benjamin.philip495@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5208/sd.c')
-rw-r--r--drivers/staging/rts5208/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c
index 71f04e317eff..d1fafd530c80 100644
--- a/drivers/staging/rts5208/sd.c
+++ b/drivers/staging/rts5208/sd.c
@@ -1335,7 +1335,7 @@ static int sd_switch_function(struct rtsx_chip *chip, u8 bus_width)
return STATUS_FAIL;
}
- if (!func_to_switch || (func_to_switch == HS_SUPPORT)) {
+ if (!func_to_switch || func_to_switch == HS_SUPPORT) {
/* Do not try to switch current limit if the card doesn't
* support UHS mode or we don't want it to support UHS mode
*/