max8925_power: Do not detect ac insert if handled by other code
authorPhilip Rakity <prakity@marvell.com>
Fri, 25 Nov 2011 19:24:03 +0000 (23:24 +0400)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 25 Nov 2011 19:24:03 +0000 (23:24 +0400)
commit5ba1fa0ae288e93179d54e3c59b2241eb1709f0c
tree0b237478cda62fc1ddd741092c184ec1be815d78
parent92de378b739115c8afaae5cd3f25159406bb9914
max8925_power: Do not detect ac insert if handled by other code

On brownstone rev 4 ac-insert detect is handled by vbus.

allow the platform code to configure the disabling of insert
by setting no_insert_detect.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/max8925_power.c
include/linux/mfd/max8925.h