Commit Graph

1074863 Commits

Author SHA1 Message Date
Tao Huang
5d810ec4a4 crypto: rockchip: cryptodev_linux: set vfs-only exports into their own namespace
According to gki commit 176c157bbe ("ANDROID: GKI: set vfs-only exports into their own namespace").

ERROR: modpost: module cryptodev uses symbol __close_fd from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia796e3c9715468d3a1b7fc89e508ab592b5ebb9f
2022-09-08 16:18:29 +08:00
Jianqun Xu
92723dfe62 UPSTREAM: kernel/irq: export irq_gc_set_wake
Module driver may use irq_gc_set_wake.

Bug: 194515348
Change-Id: I52f43e1dff15d987532395e5151e65419b5904b2
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210305080658.2422114-1-jay.xu@rock-chips.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit 024c79520f)
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2022-09-08 16:18:25 +08:00
Tao Huang
2a1323ec36 arm64: dts: rockchip: Add linux,sysdev_is_parent for rk3588 usbdrd_dwc3
Fixes: 3b508e8fe4 ("UPSTREAM: usb: dwc3: support 64 bit DMA in platform driver")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I4167ba5ce4a9192d70f2841375fbc376ae2cb882
2022-09-08 16:18:20 +08:00
Tao Huang
5b5c536d79 mm: cma: Remove call to lru_cache_enable()
branch android13-5.10 without commit 74f247e31b ("ANDROID: mm: cma: disable LRU cache early")
which is on the branch android12-5.10.

Fixes: 87e8391b85 ("mm/cma: support cma inactive feature")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9c554c75d89aa5052e9970c5b5338dc77c1134de
2022-09-08 16:18:13 +08:00
Tao Huang
8e8c0e1ce1 Merge commit 'a81422efff2f'
It contains the following 82894 commits:

  UPSTREAM: usb: dwc3: gadget: Move null pinter check to proper place
  UPSTREAM: dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
  clk: rockchip: rk3588: Add CLK_SET_RATE_PARENT for i2s5/6 frac clk
  media: rockchip: isp: fix vicap fast stream on and off
  dt-bindings: update SPDX-License-Identifier for rockchip clock header
  dt-bindings: update SPDX-License-Identifier for rockchip power header
  ASoC: es7202: fix es7202 read & write error
  media: i2c: sc430cs support get real fps
  media: i2c: sc430cs fixed compile error
  media: i2c: sc4238 support get channel info
  media: i2c: sc4238 support get real fps
  media: i2c: sc4238 fixed compile error
  media: i2c: sc2310 support get channel info
  media: i2c: sc2310 support get real fps
  media: i2c: sc2310 fixed compile error
  media: i2c: sc2239 support get real fps
  media: i2c: sc2239 fixed compile error
  media: i2c: sc2232 support get real fps
  media: i2c: sc2232 fixed compile error
  media: i2c: sc210iot support get real fps
  ...

Conflicts:
	drivers/android/Kconfig
	drivers/dma-buf/dma-buf.c
	drivers/irqchip/irq-gic-v3-its.c
	drivers/usb/dwc3/gadget.c
	sound/soc/rockchip/rockchip_i2s.c

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I0aa6721d035488a1368205c0437ea2c6452c1bb0
2022-09-08 16:17:54 +08:00
Michael Grzeschik
3975ff5ce6 FROMGIT: usb: gadget: uvc: calculate the number of request depending on framesize
The current limitation of possible number of requests being handled is
dependent on the gadget speed. It makes more sense to depend on the
typical frame size when calculating the number of requests. This patch
is changing this and is using the previous limits as boundaries for
reasonable minimum and maximum number of requests.

For a 1080p jpeg encoded video stream with a maximum imagesize of
e.g. 800kB with a maxburst of 8 and an multiplier of 1 the resulting
number of requests is calculated to 49.

        800768         1
nreqs = ------ * -------------- ~= 49
          2      (1024 * 8 * 1)

Tested-by: Dan Vacura <w36195@motorola.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220529223848.105914-2-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 234757296
(cherry picked from commit 87d76b5f1d
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
Change-Id: I0228cbaa56d4e75bed33e1ef721ae3127d779faf
Signed-off-by: Dan Vacura <w36195@motorola.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:58 +08:00
Dan Vacura
c60e731176 FROMGIT: usb: gadget: uvc: allow for application to cleanly shutdown
Several types of kernel panics can occur due to timing during the uvc
gadget removal. This appears to be a problem with gadget resources being
managed by both the client application's v4l2 open/close and the UDC
gadget bind/unbind. Since the concept of USB_GADGET_DELAYED_STATUS
doesn't exist for unbind, add a wait to allow for the application to
close out.

Some examples of the panics that can occur are:

<1>[ 1147.652313] Unable to handle kernel NULL pointer dereference at
virtual address 0000000000000028
<4>[ 1147.652510] Call trace:
<4>[ 1147.652514]  usb_gadget_disconnect+0x74/0x1f0
<4>[ 1147.652516]  usb_gadget_deactivate+0x38/0x168
<4>[ 1147.652520]  usb_function_deactivate+0x54/0x90
<4>[ 1147.652524]  uvc_function_disconnect+0x14/0x38
<4>[ 1147.652527]  uvc_v4l2_release+0x34/0xa0
<4>[ 1147.652537]  __fput+0xdc/0x2c0
<4>[ 1147.652540]  ____fput+0x10/0x1c
<4>[ 1147.652545]  task_work_run+0xe4/0x12c
<4>[ 1147.652549]  do_notify_resume+0x108/0x168

<1>[  282.950561][ T1472] Unable to handle kernel NULL pointer
dereference at virtual address 00000000000005b8
<6>[  282.953111][ T1472] Call trace:
<6>[  282.953121][ T1472]  usb_function_deactivate+0x54/0xd4
<6>[  282.953134][ T1472]  uvc_v4l2_release+0xac/0x1e4
<6>[  282.953145][ T1472]  v4l2_release+0x134/0x1f0
<6>[  282.953167][ T1472]  __fput+0xf4/0x428
<6>[  282.953178][ T1472]  ____fput+0x14/0x24
<6>[  282.953193][ T1472]  task_work_run+0xac/0x130

<3>[  213.410077][   T29] configfs-gadget gadget: uvc: Failed to queue
request (-108).
<1>[  213.410116][   T29] Unable to handle kernel NULL pointer
dereference at virtual address 0000000000000003
<6>[  213.413460][   T29] Call trace:
<6>[  213.413474][   T29]  uvcg_video_pump+0x1f0/0x384
<6>[  213.413489][   T29]  process_one_work+0x2a4/0x544
<6>[  213.413502][   T29]  worker_thread+0x350/0x784
<6>[  213.413515][   T29]  kthread+0x2ac/0x320
<6>[  213.413528][   T29]  ret_from_fork+0x10/0x30

Signed-off-by: Dan Vacura <w36195@motorola.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220503201039.71720-1-w36195@motorola.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 229140375
(cherry picked from commit b81ac4395b
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-linus)
Signed-off-by: Dan Vacura <w36195@motorola.com>
Change-Id: I451813637a02429041aa34ce9cb4cbd63c557415
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:58 +08:00
Dan Vacura
db8c8cbc02 FROMGIT: usb: gadget: uvc: allow changing interface name via configfs
Add a configfs entry, "function_name", to change the iInterface field
for VideoControl. This name is used on host devices for user selection,
useful when multiple cameras are present. The default will remain "UVC
Camera".

Signed-off-by: Dan Vacura <w36195@motorola.com>
Link: https://lore.kernel.org/r/20220401160447.5919-1-w36195@motorola.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 229140375
(cherry picked from commit 324e4f8507
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
Change-Id: I6943d40dbc0dec125464b66684ae31252e807d9b
Signed-off-by: Dan Vacura <w36195@motorola.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:58 +08:00
Michael Grzeschik
c30758a53e UPSTREAM: usb: gadget: uvc: make uvc_num_requests depend on gadget speed
While sending bigger images is possible with USB_SPEED_SUPER it is
better to use more isochronous requests in flight. This patch makes the
number uvc_num_requests dynamic by changing it depending on the gadget
speed.

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20210628155311.16762-3-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bug: 229140375
(cherry picked from commit 9973772dbb)
Signed-off-by: Dan Vacura <w36195@motorola.com>
Change-Id: I1385bf8f973f3e5ee6c76193bffe0046eca22439
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:58 +08:00
Thinh Nguyen
7151c45052 UPSTREAM: usb: dwc3: gadget: Wait for ep0 xfers to complete during dequeue
If a Setup packet is received but yet to DMA out, the controller will
not process the End Transfer command of any endpoint. Polling of its
DEPCMD.CmdAct may block setting up TRB for Setup packet, causing a
command timeout.

This may occur if the driver doesn’t service the completion interrupt of
the control status stage yet due to system latency, then it won’t
prepare TRB and start the transfer for the next Setup Stage. To the host
side, the control transfer had completed, and the host can send a new
Setup packet at this point.

In the meanwhile, if the driver receives an async call to dequeue a
request (triggering End Transfer) to any endpoint, then the driver will
service that End transfer first, blocking the control status stage
completion handler. Since no TRB is available for the Setup stage, the
Setup packet can’t be DMA’ed out and the End Transfer gets hung.

The driver must not block setting up of the Setup stage. So track and
only issue the End Transfer command only when there’s Setup TRB prepared
so that the controller can DMA out the Setup packet. Delay the End
transfer command if there's no Setup TRB available. This is applicable to
all DWC_usb3x IPs.

Co-developed-by: Wesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220309205402.4467-1-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 230843866
(cherry picked from commit e4cf6580ac)

Change-Id: I7f643ae340a20f12d5f86965674aa58df1be3979
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:58 +08:00
Guangming Cao
308c55b06d ANDROID: dma_heap: add dma_parms for uncached heap
In system_heap_do_allocate, we will use uncached heap device to call
dma_map_sgtable & dma_unmap_sgtable to do implicitly flush.

However, device of uncached heap is not set dma_parms, default value(64KB)
is too small for dma_heap buffer, it will cause some warning log below when
CONFIG_DMA_API_DEBUG_SG is enabled.

warning log sample:
 |DMA-API: dma_heap system-uncached: mapping sg segment longer than device claims to support [len=1048576] [max=65536]
 |WARNING: CPU: 4 PID: 576 at kernel/dma/debug.c:1173 debug_dma_map_sg+0x214/0x438
 |......

Bug: 199986022
Change-Id: I97076de329f4a50d035d43d69cb17606064c3151
Signed-off-by: Guangming Cao <Guangming.Cao@mediatek.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:58 +08:00
JianMin Liu
a3c89bced7 ANDROID: sched: add a helper function to change PELT half-life
Add a new helper function and export it for vendor module to
dynamically switch to an alternative half-life at runtime.

Bug: 195474490
Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com>
Change-Id: Ife41997a032fe3384cfa126cbf7aee929c5c11cf
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:58 +08:00
Tao Huang
96a0069015 Merge tag 'ASB-2022-07-05_12-5.10'
https://source.android.com/security/bulletin/2022-07-01
CVE-2020-29374
CVE-2022-20227

Change-Id: Idf95f9dcfb5ffa2b4856ed9fc49f3dd9c1fcbb70
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:32:24 +08:00
Albert Wang
a81422efff UPSTREAM: usb: dwc3: gadget: Move null pinter check to proper place
When dwc3_gadget_ep_cleanup_completed_requests() called to
dwc3_gadget_giveback() where the dwc3 lock is released, other thread is
able to execute. In this situation, usb_ep_disable() gets the chance to
clear endpoint descriptor pointer which leds to the null pointer
dereference problem. So needs to move the null pointer check to a proper
place.

Example call stack:

Thread#1:
dwc3_thread_interrupt()
  spin_lock
  -> dwc3_process_event_buf()
   -> dwc3_process_event_entry()
    -> dwc3_endpoint_interrupt()
     -> dwc3_gadget_endpoint_trbs_complete()
      -> dwc3_gadget_ep_cleanup_completed_requests()
       ...
       -> dwc3_giveback()
          spin_unlock
          Thread#2 executes

Thread#2:
configfs_composite_disconnect()
  -> __composite_disconnect()
   -> ffs_func_disable()
    -> ffs_func_set_alt()
     -> ffs_func_eps_disable()
      -> usb_ep_disable()
         wait for dwc3 spin_lock
         Thread#1 released lock
         clear endpoint.desc

Fixes: 2628844812 ("usb: dwc3: gadget: Fix null pointer exception")
Cc: stable <stable@kernel.org>
Signed-off-by: Albert Wang <albertccwang@google.com>
Link: https://lore.kernel.org/r/20220518061315.3359198-1-albertccwang@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3c5880745b)
Change-Id: I15ad3eab4b946f4db6e52035c5dd0d6b3435472e
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:11:27 +08:00
Charan Teja Reddy
41b083e3ba UPSTREAM: dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
When dma_buf_stats_setup() fails, it closes the dmabuf file which
results into the calling of dma_buf_file_release() where it does
list_del(&dmabuf->list_node) with out first adding it to the proper
list. This is resulting into panic in the below path:
__list_del_entry_valid+0x38/0xac
dma_buf_file_release+0x74/0x158
__fput+0xf4/0x428
____fput+0x14/0x24
task_work_run+0x178/0x24c
do_notify_resume+0x194/0x264
work_pending+0xc/0x5f0

Fix it by moving the dma_buf_stats_setup() after dmabuf is added to the
list.

Fixes: bdb8d06dfe ("dmabuf: Add the capability to expose DMA-BUF stats in sysfs")
Signed-off-by: Charan Teja Reddy <quic_charante@quicinc.com>
Tested-by: T.J. Mercier <tjmercier@google.com>
Acked-by: T.J. Mercier <tjmercier@google.com>
Cc: <stable@vger.kernel.org> # 5.15.x+
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1652125797-2043-1-git-send-email-quic_charante@quicinc.com
(cherry picked from commit ef3a6b7050)
Change-Id: Ie282a36291072b2c6c374f8c1924030ff85d29c6
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-09-07 16:10:24 +08:00
Joseph Chen
11162a3487 clk: rockchip: rk3588: Add CLK_SET_RATE_PARENT for i2s5/6 frac clk
The flag was missing which makes i2s5/6 src clock rate can't be changed.

Change-Id: I3ad5f39e8a2826d0b18d554c3a53b55f219028d8
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2022-09-07 16:00:55 +08:00
Cai YiWei
3be39a0ab0 media: rockchip: isp: fix vicap fast stream on and off
Change-Id: I6f94419a6d4beacd4a5ab8f0fa13649bc61eec67
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-09-07 15:58:17 +08:00
Finley Xiao
00ae13ff18 dt-bindings: update SPDX-License-Identifier for rockchip clock header
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I626838b5d18f1a0007f03dfd6132821ff01a026c
2022-09-07 14:36:08 +08:00
Finley Xiao
2e0c57d5b6 dt-bindings: update SPDX-License-Identifier for rockchip power header
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I272f7ffd3aaa0f6c6018268e3fdfb30ad07dbf42
2022-09-07 14:36:08 +08:00
Jason Zhu
c9e093d497 ASoC: es7202: fix es7202 read & write error
The error occur when set pm_domain_always_on as true.
error:
[    5.035136][    T9] pc : es7202_multi_chips_update_bits+0xe4/0x22c
[    5.035684][    T9] lr : es7202_multi_chips_update_bits+0x84/0x22c
[    5.036230][    T9] sp : ffffffc0124e3830
[    5.036593][    T9] pmr_save: 000000e0
[    5.036923][    T9] x29: ffffffc0124e3850 x28: 0000000000000001
[    5.037453][    T9] x27: 0000000000002e11 x26: 0000000000000100
[    5.037981][    T9] x25: 0000000000000208 x24: ffffffc0123f4888
[    5.038511][    T9] x23: 0000000000000105 x22: 0000000000000102
[    5.039040][    T9] x21: 0000000000000000 x20: 0000000000000030
[    5.039572][    T9] x19: 0000000000000000 x18: ffffffc0124950a0
[    5.040099][    T9] x17: 071c71c71c71c71c x16: 0000000000000001
[    5.040626][    T9] x15: 0000000000000000 x14: 0000000000000400
[    5.041153][    T9] x13: 0000000000000004 x12: 0000000000000000
[    5.041680][    T9] x11: ffffffc0124e3770 x10: 0000000000000001
[    5.042207][    T9] x9 : 0000000000000030 x8 : 0000000000000007
[    5.042741][    T9] x7 : 000000b2b5593519 x6 : 0000000000000009
[    5.043275][    T9] x5 : 0000000000000001 x4 : 0000000000000001
[    5.043809][    T9] x3 : ffffff81015cb4f0 x2 : 0000000000000000
[    5.044344][    T9] x1 : ffffff8100340000 x0 : 0000000000000001
[    5.044880][    T9] Call trace:
[    5.045168][    T9]  es7202_multi_chips_update_bits+0xe4/0x22c
[    5.045689][    T9]  es7202_probe+0xa0/0x5cc
[    5.046080][    T9]  snd_soc_component_probe+0x28/0x80
[    5.046541][    T9]  soc_probe_component+0x254/0x3a8
[    5.046985][    T9]  snd_soc_bind_card+0x464/0xad0
[    5.047418][    T9]  snd_soc_register_card+0xf8/0x114
[    5.047873][    T9]  devm_snd_soc_register_card+0x48/0x90
[    5.048355][    T9]  rk_multicodecs_probe+0x844/0x950

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I3aafcf653fcb15c20c6c23acbcfb54ee84120161
2022-09-06 21:18:52 +08:00
Zefa Chen
40c34d9901 media: i2c: sc430cs support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ie275e14691e97373e854e536c6a24e9664d5e104
2022-09-06 21:12:33 +08:00
Zefa Chen
9d7e87b159 media: i2c: sc430cs fixed compile error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I89d3e58072d0976a61c68a5bd11135af8217a85b
2022-09-06 21:12:26 +08:00
Zefa Chen
27fca158ee media: i2c: sc4238 support get channel info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iaf4b2986a5aa3b43fb3ea1d29d6e81a1170643ca
2022-09-06 21:06:47 +08:00
Zefa Chen
d7b517a933 media: i2c: sc4238 support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I89095cc7e88976e2b6c4cc03dcf7ef4d85161312
2022-09-06 21:06:35 +08:00
Zefa Chen
75bd61f8ee media: i2c: sc4238 fixed compile error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I049d127f3b9ce6df88ba235997167f9d0b658075
2022-09-06 21:06:01 +08:00
Zefa Chen
47fa14b3ff media: i2c: sc2310 support get channel info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I66dd1df73e01de14632c27b081a23651c631f106
2022-09-06 21:05:11 +08:00
Zefa Chen
41030bf030 media: i2c: sc2310 support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I472f7147e67b6a616badcc4e590796fcde02652f
2022-09-06 21:05:00 +08:00
Zefa Chen
0d29f62062 media: i2c: sc2310 fixed compile error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I240aea1457bf344a1ca6b410433ddf75edb33deb
2022-09-06 21:04:51 +08:00
Zefa Chen
1015e049d6 media: i2c: sc2239 support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ib54c499c1c11912f09fcdd757fe6770729a02e4f
2022-09-06 20:59:10 +08:00
Zefa Chen
197d1dd185 media: i2c: sc2239 fixed compile error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ibe430f5a7398857f742f5fbc40f2b5c71cf529f0
2022-09-06 20:58:55 +08:00
Zefa Chen
8973f1f7d1 media: i2c: sc2232 support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I0a7d39efdf19be64c0a6fd1a07d1ea95f5a9c1ec
2022-09-06 20:58:05 +08:00
Zefa Chen
5a810868d7 media: i2c: sc2232 fixed compile error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I688398cdc757dad906e3b8a9224b3add0d7e7cf7
2022-09-06 20:57:46 +08:00
Zefa Chen
399f2b54c2 media: i2c: sc210iot support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I076f76fc865832c6c32bc0948a3ac946f856a302
2022-09-06 20:56:44 +08:00
Zefa Chen
93205a19f3 media: i2c: sc210iot fixed compile error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ib8bda8d9612d6dde919ff73b471ea1361653dd2c
2022-09-06 17:45:35 +08:00
Zefa Chen
e22a81c9d7 media: i2c: sc200ai support get channel info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I3a94f110dad47d8b8d75a8db151ba066b1fbc9f6
2022-09-06 17:42:47 +08:00
Zefa Chen
dafa315868 media: i2c: sc200ai support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I7c0b337096a699c0eb77939bb70b9494fe426b69
2022-09-06 17:42:39 +08:00
Zefa Chen
4c384115c4 media: i2c: sc200ai fixed compile error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I25d53efa9c620c51407529414f7eebfdb315cfd6
2022-09-06 17:42:14 +08:00
Zefa Chen
b1d21d84ec media: i2c: sc530ai support get channel info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ie52ca66917de1e1dc9da36ece34d8a3ed44e24fb
2022-09-06 17:15:55 +08:00
Zefa Chen
9e83a41df7 media: i2c: sc530ai support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I34057cf6defa752fbfcd248ca3d31cec64775add
2022-09-06 17:15:46 +08:00
Zefa Chen
feb05d124a media: i2c: sc500ai support get channel info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I53e3d0389de3b0bcc5fd86a7184826aaecd39594
2022-09-06 17:15:00 +08:00
Zefa Chen
d07a1791b5 media: i2c: sc500ai support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I6ed59d6bc66aca089f899b42696f4ee95d68993c
2022-09-06 17:14:39 +08:00
Zefa Chen
ccc90a8c83 media: i2c: sc4210 support get channel info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I9e9bc7288f2d7af219c8b3ee629fe2374ac51afd
2022-09-06 17:13:27 +08:00
Zefa Chen
fee70d173c media: i2c: sc401ai support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I32fd44195becb2f3b33d9a7d4179c7f026bea7fc
2022-09-06 17:12:59 +08:00
Zefa Chen
442572f3ca media: i2c: sc301iot support get channel info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ida660f06b64b68f3508dd77dfea7e6aec8ba9c3b
2022-09-06 17:12:22 +08:00
Zefa Chen
1f6d411d70 media: i2c: sc301iot support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I614fba82a69a29559dd5eb170632623e9974385e
2022-09-06 17:11:50 +08:00
Zefa Chen
6a17edc2e9 media: i2c: sc132gs support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Id5ffd31659d26cf8a4cf4345d646bb9fe8a608f1
2022-09-06 17:10:22 +08:00
Zefa Chen
5097c3461a media: i2c: sc035gs support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I35abf81ea047f7a9cea002aed41c43e693e7b51d
2022-09-06 17:07:37 +08:00
Zefa Chen
3baadab121 media: i2c: sc031gs support get real fps
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ice76e4bd728f5e1ad5c946eeeb356b4d90873733
2022-09-06 17:06:48 +08:00
Zefa Chen
84a81c0888 media: i2c: sc3338 init cur_fps, fixed error of g_frame_interval
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iefef919fd938bb9f258ca4dae6c673a63a8edf09
2022-09-05 17:57:16 +08:00
Zefa Chen
43bb7cf2fe media: i2c: sc3336 init cur_fps, fixed error of g_frame_interval
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I058ce97c1d59fa95c15d67db067d467ef015cf8d
2022-09-05 17:56:36 +08:00