forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/media/i2c/adv748x/adv748x-afe.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * Driver for Analog Devices ADV748X 8 channel analog front end (AFE) receiver
34 * with standard definition processor (SDP)
45 *
56 * Copyright (C) 2017 Renesas Electronics Corp.
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License as published by the
9
- * Free Software Foundation; either version 2 of the License, or (at your
10
- * option) any later version.
117 */
128
139 #include <linux/delay.h>
....@@ -286,7 +282,7 @@
286282 goto unlock;
287283 }
288284
289
- ret = adv748x_txb_power(state, enable);
285
+ ret = adv748x_tx_power(afe->tx, enable);
290286 if (ret)
291287 goto unlock;
292288