Commit e379c79b authored by Wayne Porter's avatar Wayne Porter Committed by Greg Kroah-Hartman

staging: rts5208: Parenthesis alignment

Fix alignment to stop checkpath check messages
Signed-off-by: default avatarWayne Porter <wporter82@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f5becff7
...@@ -502,13 +502,13 @@ void card_cd_debounce(struct rtsx_chip *chip, unsigned long *need_reset, ...@@ -502,13 +502,13 @@ void card_cd_debounce(struct rtsx_chip *chip, unsigned long *need_reset,
reset_map = 0; reset_map = 0;
if (!(chip->card_exist & XD_CARD) && if (!(chip->card_exist & XD_CARD) &&
(xd_cnt > (DEBOUNCE_CNT-1))) (xd_cnt > (DEBOUNCE_CNT - 1)))
reset_map |= XD_CARD; reset_map |= XD_CARD;
if (!(chip->card_exist & SD_CARD) && if (!(chip->card_exist & SD_CARD) &&
(sd_cnt > (DEBOUNCE_CNT-1))) (sd_cnt > (DEBOUNCE_CNT - 1)))
reset_map |= SD_CARD; reset_map |= SD_CARD;
if (!(chip->card_exist & MS_CARD) && if (!(chip->card_exist & MS_CARD) &&
(ms_cnt > (DEBOUNCE_CNT-1))) (ms_cnt > (DEBOUNCE_CNT - 1)))
reset_map |= MS_CARD; reset_map |= MS_CARD;
} }
...@@ -556,8 +556,10 @@ void rtsx_init_cards(struct rtsx_chip *chip) ...@@ -556,8 +556,10 @@ void rtsx_init_cards(struct rtsx_chip *chip)
if (chip->need_release) { if (chip->need_release) {
if (chip->ocp_stat & (CARD_OC_NOW | CARD_OC_EVER)) if (chip->ocp_stat & (CARD_OC_NOW | CARD_OC_EVER))
rtsx_write_register(chip, OCPCLR, rtsx_write_register(chip, OCPCLR,
CARD_OC_INT_CLR | CARD_OC_CLR, CARD_OC_INT_CLR |
CARD_OC_INT_CLR | CARD_OC_CLR); CARD_OC_CLR,
CARD_OC_INT_CLR |
CARD_OC_CLR);
chip->ocp_stat = 0; chip->ocp_stat = 0;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment