.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * OKI Semiconductor ML86V7667 video decoder driver |
---|
3 | 4 | * |
---|
4 | 5 | * Author: Vladimir Barinov <source@cogentembedded.com> |
---|
5 | 6 | * Copyright (C) 2013 Cogent Embedded, Inc. |
---|
6 | 7 | * Copyright (C) 2013 Renesas Solutions Corp. |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify it |
---|
9 | | - * under the terms of the GNU General Public License as published by the |
---|
10 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
11 | | - * option) any later version. |
---|
12 | 8 | */ |
---|
13 | 9 | |
---|
14 | 10 | #include <linux/init.h> |
---|
.. | .. |
---|
223 | 219 | return 0; |
---|
224 | 220 | } |
---|
225 | 221 | |
---|
226 | | -static int ml86v7667_g_mbus_config(struct v4l2_subdev *sd, |
---|
227 | | - struct v4l2_mbus_config *cfg) |
---|
| 222 | +static int ml86v7667_get_mbus_config(struct v4l2_subdev *sd, |
---|
| 223 | + unsigned int pad, |
---|
| 224 | + struct v4l2_mbus_config *cfg) |
---|
228 | 225 | { |
---|
229 | 226 | cfg->flags = V4L2_MBUS_MASTER | V4L2_MBUS_PCLK_SAMPLE_RISING | |
---|
230 | 227 | V4L2_MBUS_DATA_ACTIVE_HIGH; |
---|
.. | .. |
---|
295 | 292 | .s_std = ml86v7667_s_std, |
---|
296 | 293 | .querystd = ml86v7667_querystd, |
---|
297 | 294 | .g_input_status = ml86v7667_g_input_status, |
---|
298 | | - .g_mbus_config = ml86v7667_g_mbus_config, |
---|
299 | 295 | }; |
---|
300 | 296 | |
---|
301 | 297 | static const struct v4l2_subdev_pad_ops ml86v7667_subdev_pad_ops = { |
---|
302 | 298 | .enum_mbus_code = ml86v7667_enum_mbus_code, |
---|
303 | 299 | .get_fmt = ml86v7667_fill_fmt, |
---|
304 | 300 | .set_fmt = ml86v7667_fill_fmt, |
---|
| 301 | + .get_mbus_config = ml86v7667_get_mbus_config, |
---|
305 | 302 | }; |
---|
306 | 303 | |
---|
307 | 304 | static const struct v4l2_subdev_core_ops ml86v7667_subdev_core_ops = { |
---|