diff options
author | Lars Poeschel <poeschel@lemonage.de> | 2019-10-29 15:46:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-29 21:05:26 -0700 |
commit | 0bf2840ccc6efcba82d83b224dcde19dea9f1ee3 (patch) | |
tree | 63fcb5afda4b044d737000ef46f78ae60acd71e5 /drivers/ps3/ps3-lpm.c | |
parent | 3c57b3954701fbbac954986198edb030d84873e0 (diff) | |
download | linux-0bf2840ccc6efcba82d83b224dcde19dea9f1ee3.tar.bz2 |
nfc: pn533: Add dev_up/dev_down hooks to phy_ops
This adds hooks for dev_up and dev_down to the phy_ops. They are
optional.
The idea is to inform the phy driver when the nfc chip is really going
to be used. When it is not used, the phy driver can suspend it's
interface to the nfc chip to save some power. The nfc chip is considered
not in use before dev_up and after dev_down.
Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ps3/ps3-lpm.c')
0 files changed, 0 insertions, 0 deletions