aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorLv Zheng <[email protected]>2013-10-10 13:28:47 +0300
committerRafael J. Wysocki <[email protected]>2013-10-11 02:23:14 +0200
commita76e9bd89ae70fdfff5fd1ca47756a35d10c5f3f (patch)
treeb6bfe78690931cf6c105841d6d622d405653688d /fs/jbd/commit.c
parent644f17ad7fc12768cd619532383343e514eab2ac (diff)
i2c: attach/detach I2C client device to the ACPI power domain
If the I2C client device is enumerated from ACPI namespace it might have ACPI methods that needs to be called in order to transition the device to different power states (such as _PSx). Implement this for I2C client devices by checking if the device has an ACPI handle and if that's the case, attach it to the ACPI power domain. In addition we make sure that the device is fully powered when its ->probe() function gets called. For non-ACPI devices this patch is a no-op. Signed-off-by: Lv Zheng <[email protected]> Signed-off-by: Mika Westerberg <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions