disable socket power in adapter driver instead of media one
Socket power must be fully controlled by adapter driver. This also prevents unnecessary power-off of the socket when media driver is unloaded, yet media remains in the socket. Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
committed by
Pierre Ossman
parent
36f021b579
commit
055b822414
@@ -63,6 +63,7 @@ enum {
|
||||
|
||||
#define TIFM_CTRL_LED 0x00000040
|
||||
#define TIFM_CTRL_FAST_CLK 0x00000100
|
||||
#define TIFM_CTRL_POWER_MASK 0x00000007
|
||||
|
||||
#define TIFM_SOCK_STATE_OCCUPIED 0x00000008
|
||||
#define TIFM_SOCK_STATE_POWERED 0x00000080
|
||||
|
Reference in New Issue
Block a user