|
@@ -622,9 +622,9 @@ static irqreturn_t ab8500_btemp_templow_handler(int irq, void *_di)
|
|
|
{
|
|
|
struct ab8500_btemp *di = _di;
|
|
|
|
|
|
- if (is_ab8500_2p0_or_earlier(di->parent)) {
|
|
|
+ if (is_ab8500_3p3_or_earlier(di->parent)) {
|
|
|
dev_dbg(di->dev, "Ignore false btemp low irq"
|
|
|
- " for ABB cut 1.0, 1.1 and 2.0\n");
|
|
|
+ " for ABB cut 1.0, 1.1, 2.0 and 3.3\n");
|
|
|
} else {
|
|
|
dev_crit(di->dev, "Battery temperature lower than -10deg c\n");
|
|
|
|
|
@@ -738,10 +738,10 @@ static int ab8500_btemp_get_temp(struct ab8500_btemp *di)
|
|
|
int temp = 0;
|
|
|
|
|
|
/*
|
|
|
- * The BTEMP events are not reliabe on AB8500 cut2.0
|
|
|
+ * The BTEMP events are not reliabe on AB8500 cut3.3
|
|
|
* and prior versions
|
|
|
*/
|
|
|
- if (is_ab8500_2p0_or_earlier(di->parent)) {
|
|
|
+ if (is_ab8500_3p3_or_earlier(di->parent)) {
|
|
|
temp = di->bat_temp * 10;
|
|
|
} else {
|
|
|
if (di->events.btemp_low) {
|