diff options
author | Wei WANG <wei_wang@realsil.com.cn> | 2013-08-20 10:18:52 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-08-20 12:22:00 +0400 |
commit | 5947c167d145f32d4475d647a87e2af2699efe45 (patch) | |
tree | b75c7a66d0c946c714ed141aff8f66839cd01f6a /drivers/mfd/wm5102-tables.c | |
parent | 773ccdfd9cc6f9bf8ec75a59fa742d7a663a5903 (diff) | |
download | linux-5947c167d145f32d4475d647a87e2af2699efe45.tar.xz |
mfd: rtsx: Add shutdown callback in rtsx_pci_driver
Some actions to clear power state should be handled in .shutdown
callback in rtsx_pci_driver. This patch adopts the following measures to
catch this goal:
1. Add a function rtsx_pci_power_off to abstract the common ops in
.shutdown and .suspend
2. Add pcr->ops->force_power_down to fulfill the individual action for
each reader model
Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm5102-tables.c')
0 files changed, 0 insertions, 0 deletions