| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Battery driver for Maxim MAX8925 |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2009-2010 Marvell International Ltd. |
|---|
| 5 | 6 | * Haojian Zhuang <haojian.zhuang@marvell.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 124 | 121 | case MAX8925_IRQ_VCHG_THM_OK_F: |
|---|
| 125 | 122 | /* Battery is not ready yet */ |
|---|
| 126 | 123 | dev_dbg(chip->dev, "Battery temperature is out of range\n"); |
|---|
| 124 | + fallthrough; |
|---|
| 127 | 125 | case MAX8925_IRQ_VCHG_DC_OVP: |
|---|
| 128 | 126 | dev_dbg(chip->dev, "Error detection\n"); |
|---|
| 129 | 127 | __set_charger(info, 0); |
|---|