staging: rts5208: Parenthesis alignment
Fix alignment to stop checkpath check messages Signed-off-by: Wayne Porter <wporter82@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
f5becff728
Коммит
e379c79bae
|
@ -502,13 +502,13 @@ void card_cd_debounce(struct rtsx_chip *chip, unsigned long *need_reset,
|
|||
|
||||
reset_map = 0;
|
||||
if (!(chip->card_exist & XD_CARD) &&
|
||||
(xd_cnt > (DEBOUNCE_CNT-1)))
|
||||
(xd_cnt > (DEBOUNCE_CNT - 1)))
|
||||
reset_map |= XD_CARD;
|
||||
if (!(chip->card_exist & SD_CARD) &&
|
||||
(sd_cnt > (DEBOUNCE_CNT-1)))
|
||||
(sd_cnt > (DEBOUNCE_CNT - 1)))
|
||||
reset_map |= SD_CARD;
|
||||
if (!(chip->card_exist & MS_CARD) &&
|
||||
(ms_cnt > (DEBOUNCE_CNT-1)))
|
||||
(ms_cnt > (DEBOUNCE_CNT - 1)))
|
||||
reset_map |= MS_CARD;
|
||||
}
|
||||
|
||||
|
@ -556,8 +556,10 @@ void rtsx_init_cards(struct rtsx_chip *chip)
|
|||
if (chip->need_release) {
|
||||
if (chip->ocp_stat & (CARD_OC_NOW | CARD_OC_EVER))
|
||||
rtsx_write_register(chip, OCPCLR,
|
||||
CARD_OC_INT_CLR | CARD_OC_CLR,
|
||||
CARD_OC_INT_CLR | CARD_OC_CLR);
|
||||
CARD_OC_INT_CLR |
|
||||
CARD_OC_CLR,
|
||||
CARD_OC_INT_CLR |
|
||||
CARD_OC_CLR);
|
||||
chip->ocp_stat = 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче