| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2010 Sascha Hauer <s.hauer@pengutronix.de> |
|---|
| 3 | 4 | * Copyright (C) 2005-2009 Freescale Semiconductor, Inc. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 7 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 8 | | - * option) any later version. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 11 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
|---|
| 12 | | - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|---|
| 13 | | - * for more details. |
|---|
| 14 | 5 | */ |
|---|
| 15 | 6 | |
|---|
| 16 | 7 | #include <linux/export.h> |
|---|
| .. | .. |
|---|
| 150 | 141 | switch (fmt) { |
|---|
| 151 | 142 | default: |
|---|
| 152 | 143 | WARN_ON(1); |
|---|
| 153 | | - /* fall-through */ |
|---|
| 144 | + fallthrough; |
|---|
| 154 | 145 | case MEDIA_BUS_FMT_RGB888_1X24: |
|---|
| 155 | 146 | return IPU_DC_MAP_RGB24; |
|---|
| 156 | 147 | case MEDIA_BUS_FMT_RGB565_1X16: |
|---|