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>
This commit is contained in:

committed by
Anton Vorontsov

parent
92de378b73
commit
5ba1fa0ae2
@@ -224,6 +224,7 @@ struct max8925_power_pdata {
|
||||
unsigned topoff_threshold:2;
|
||||
unsigned fast_charge:3; /* charge current */
|
||||
unsigned no_temp_support:1; /* set if no temperature detect */
|
||||
unsigned no_insert_detect:1; /* set if no ac insert detect */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user