| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Samsung LSI S5C73M3 8M pixel camera driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2012, Samsung Electronics, Co., Ltd. |
|---|
| 5 | 6 | * Sylwester Nawrocki <s.nawrocki@samsung.com> |
|---|
| 6 | 7 | * Andrzej Hajda <a.hajda@samsung.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or |
|---|
| 9 | | - * modify it under the terms of the GNU General Public License |
|---|
| 10 | | - * version 2 as published by the Free Software Foundation. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | 8 | */ |
|---|
| 17 | 9 | |
|---|
| 18 | 10 | #include <linux/sizes.h> |
|---|
| .. | .. |
|---|
| 54 | 46 | break; |
|---|
| 55 | 47 | default: |
|---|
| 56 | 48 | v4l2_info(&state->sensor_sd, "Unknown AF status %#x\n", reg); |
|---|
| 57 | | - /* Fall through */ |
|---|
| 49 | + fallthrough; |
|---|
| 58 | 50 | case REG_CAF_STATUS_UNFOCUSED: |
|---|
| 59 | 51 | case REG_AF_STATUS_UNFOCUSED: |
|---|
| 60 | 52 | case REG_AF_STATUS_INVALID: |
|---|
| .. | .. |
|---|
| 555 | 547 | V4L2_CTRL_FLAG_UPDATE; |
|---|
| 556 | 548 | v4l2_ctrl_auto_cluster(2, &ctrls->auto_iso, 0, false); |
|---|
| 557 | 549 | ctrls->af_status->flags |= V4L2_CTRL_FLAG_VOLATILE; |
|---|
| 558 | | - v4l2_ctrl_cluster(6, &ctrls->focus_auto); |
|---|
| 550 | + v4l2_ctrl_cluster(5, &ctrls->focus_auto); |
|---|
| 559 | 551 | |
|---|
| 560 | 552 | state->sensor_sd.ctrl_handler = hdl; |
|---|
| 561 | 553 | |
|---|