]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8152: fix the setting of detecting the linking change for runtime suspend
authorHayes Wang <hayeswang@realtek.com>
Mon, 1 Jul 2019 07:53:19 +0000 (15:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2019 02:31:57 +0000 (19:31 -0700)
commit13e04fbf0b974df6fbf646799fc49f373c9b52d0
treeb255145fa1435838697f0f333713921ffdbb8e54
parentacd3e96d53a24d219f720ed4012b62723ae05da1
r8152: fix the setting of detecting the linking change for runtime suspend

1. Rename r8153b_queue_wake() to r8153_queue_wake().

2. Correct the setting. The enable bit should be 0xd38c bit 0. Besides,
   the 0xd38a bit 0 and 0xd398 bit 8 have to be cleared for both enabled
   and disabled.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c