提交 9002ebc2 编写于 作者: O Oleksij Rempel 提交者: Greg Kroah-Hartman

staging: rts5139: remove disabled code in rts51x_card.c

Signed-off-by: NOleksij Rempel <bug-track@fisher-privat.net>
Acked-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8ce9002e
......@@ -827,16 +827,7 @@ int card_power_on(struct rts51x_chip *chip, u8 card)
if ((card == SD_CARD) || (card == XD_CARD)) {
RTS51X_WRITE_REG(chip, CARD_PWR_CTL, mask | LDO3318_PWR_MASK,
val1 | LDO_SUSPEND);
/* RTS51X_WRITE_REG(chip, CARD_PWR_CTL,
LDO3318_PWR_MASK, LDO_SUSPEND); */
}
/* else if(card==XD_CARD)
{
RTS51X_WRITE_REG(chip, CARD_PWR_CTL,
mask|LDO3318_PWR_MASK, val1|LDO_SUSPEND);
//RTS51X_WRITE_REG(chip, CARD_PWR_CTL,
// LDO3318_PWR_MASK, LDO_SUSPEND);
} */
else {
#endif
RTS51X_WRITE_REG(chip, CARD_PWR_CTL, mask, val1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册