mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
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:
parent
36f021b579
commit
055b822414
3 changed files with 26 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue