aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/max8925.h
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-11-25 14:19:37 -0500
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-11-25 14:19:37 -0500
commit92de378b739115c8afaae5cd3f25159406bb9914 (patch)
treeebb4e6314d72c0d48ef6a6e957120d29ae52c593 /include/linux/mfd/max8925.h
parent9c9cf9e26363d0c06d0e01d5304477be97ace5cb (diff)
max8925_power: No temperature interrupts if temperature not connected
Brownstone does not have temperature reading circuit hooked up. This leads to spurious interrupts. Allow the platform layer to indicate no temperature circuit and do not activate interrupts if no temperature control is set Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include/linux/mfd/max8925.h')
-rw-r--r--include/linux/mfd/max8925.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/max8925.h b/include/linux/mfd/max8925.h
index 5259dfe8c585..69ec8f0bd490 100644
--- a/include/linux/mfd/max8925.h
+++ b/include/linux/mfd/max8925.h
@@ -223,6 +223,7 @@ struct max8925_power_pdata {
223 unsigned batt_detect:1; 223 unsigned batt_detect:1;
224 unsigned topoff_threshold:2; 224 unsigned topoff_threshold:2;
225 unsigned fast_charge:3; /* charge current */ 225 unsigned fast_charge:3; /* charge current */
226 unsigned no_temp_support:1; /* set if no temperature detect */
226}; 227};
227 228
228/* 229/*