Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e545f6d authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Greg Kroah-Hartman
Browse files

staging: rts5139: remove unused variable option.ww_enable

parent 39d65739
Loading
Loading
Loading
Loading
+13 −15
Original line number Diff line number Diff line
@@ -78,7 +78,6 @@ int rts51x_reset_chip(struct rts51x_chip *chip)
				      chip->option.sd20_pad_drive);
		if (chip->rts5179)
			rts51x_write_register(chip, CARD_PULL_CTL5, 0x03, 0x01);
		if (!chip->option.ww_enable) {
		if (CHECK_PKG(chip, LQFP48)) {
			rts51x_write_register(chip, CARD_PULL_CTL3,
					      0x80, 0x80);
@@ -93,7 +92,6 @@ int rts51x_reset_chip(struct rts51x_chip *chip)
					      0x0c, 0x08);
		}
	}
	}
	if (chip->option.sd_ctl & SUPPORT_UHS50_MMC44) {
		SET_UHS50(chip);
		RTS51X_DEBUGP("option enable UHS50&MMC44,sd_ctl:0x%x\n",
@@ -715,7 +713,7 @@ void rts51x_do_before_power_down(struct rts51x_chip *chip)
	chip->cur_clk = 0;
	chip->card_exist = 0;
	chip->cur_card = 0;
	if (chip->asic_code && !chip->option.ww_enable) {
	if (chip->asic_code) {
		if (CHECK_PKG(chip, LQFP48)) {
			rts51x_write_register(chip, CARD_PULL_CTL3, 0x80, 0x00);
			rts51x_write_register(chip, CARD_PULL_CTL6, 0xf0, 0x50);
+0 −1
Original line number Diff line number Diff line
@@ -296,7 +296,6 @@ struct rts51x_option {
	int ss_en;
	/* Interval to enter SS from IDLE state (second) */
	int ss_delay;
	u8 ww_enable;	/* sangdy2010-08-03:add for remote wakeup */

	/* Enable SSC clock */
	int ssc_en;