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

Commit 49be1723 authored by hayeswang's avatar hayeswang Committed by David S. Miller
Browse files

r8152: disable power cut for RTL8153



The firmware would be clear when the power cut is enabled for
RTL8153.

Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 204c8704
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3397,7 +3397,7 @@ static void rtl8153_unload(struct r8152 *tp)
	if (test_bit(RTL8152_UNPLUG, &tp->flags))
		return;

	r8153_power_cut_en(tp, true);
	r8153_power_cut_en(tp, false);
}

static int rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id)