14 Commits

Author SHA1 Message Date
AdarshGrewal
509304dd9c camera-kernel: Add missing function prototypes
Change-Id: Iaa071e9926568d70a553c974ea7251ea4c368b1c
2025-10-02 16:05:03 +05:30
AdarshGrewal
17eec55bd9 camera-kernel: Import xiaomi changes
* from garnet-t-oss
 * Removed ispv3 changes

Change-Id: Ia37998cbcc519e488158736d24ffd0dd05b45068
2025-10-02 16:05:03 +05:30
AdarshGrewal
cc208b5de5 modules: Update paths for sm7435
Change-Id: I1d6a42e44c91fb6565b2a762e0a1cb9931a57d29
2025-10-02 16:04:56 +05:30
Michael Bestas
dbf09f54d9 Merge tag 'CAMERA.LA.2.0.r1-12600-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into lineage-20
CAMERA.LA.2.0.r1-12600-WAIPIO.0

* tag 'CAMERA.LA.2.0.r1-12600-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: common: Address potential use after free
  msm: camera: cdm: Fix condition to check register offset range
  msm: camera: vfe: Check upper bound for mux_rsrc
  msm: camera: cdm: Prevention from OOB on virtual cdm write
  msm: camera: isp: Copy the userdata in kernel to avoid TOCTOU condition

Change-Id: I8a5780e98bee0383d08b28fb6a0d4d0030e69389
2025-02-14 03:54:23 +02:00
Michael Bestas
ef28fd9ddc Merge tag 'CAMERA.LA.2.0.r1-12500-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into lineage-20
"CAMERA.LA.2.0.r1-12500-WAIPIO.0"

* tag 'CAMERA.LA.2.0.r1-12500-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: ois: Copy packet header in kernel
  msm: camera: isp: avoid invoking mutex in tasklet
  msm: camera: sensor: TOCTOU error handling

Change-Id: I8a03742e4ab843d347f9c05d50248d46c1cef025
2024-12-16 00:52:14 +02:00
Michael Bestas
3e8a55d894 Merge tag 'CAMERA.LA.2.0.r1-12400-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into lineage-20
"CAMERA.LA.2.0.r1-12400-WAIPIO.0"

* tag 'CAMERA.LA.2.0.r1-12400-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: TOCTOU error handling

Change-Id: I4d3f8798a1a78f1442ab55fc2abe5f86fcf74a93
2024-11-04 04:27:51 +02:00
Michael Bestas
a743717c5b Merge tag 'CAMERA.LA.2.0.r1-12300-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into lineage-20
"CAMERA.LA.2.0.r1-12300-WAIPIO.0"

* tag 'CAMERA.LA.2.0.r1-12300-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: csid: Check upper bound for cid index
  msm: camera: csid: Check upper bound for res_id
  msm: camera: sensor: handling condition for random read
  msm: camera: mem_mgr: Protect krefcount with q_lock
  msm: camera: csid: Check upper bound for cid index
  msm: camera: isp: Fix incorrect offset validation in __cam_isp_ctx_dump_in_top_state
  msm: camera: isp: Fix incorrect offset validation in __cam_isp_ctx_dump_event_record
  msm: camera: icp: io buf config num validation
  msm: camera: ope: check cpu buffer offset and cmd buf idx
  msm: camera: jpeg: Avoid UAF in jpeg driver
  msm: camera: isp: Fix incorrect bound check for ife out resource id
  msm: camera: reqmgr: On bubble reset applied slots
  msm: camera: jpeg: Fix potential OOB access
  msm: camera: common: Add missing calls of put buf to avoid leak
  msm: camera: common: Stopping HW before stopping tasklet
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: tpg: Proper cmd descriptor handling

Change-Id: I36b22f4427a7040a82c6d413dea0b7a50d093164
2024-10-01 13:14:05 +03:00
Abhilash Mahapatra
ac0a01ae01 msm: camera: flash: Proper QueryCapV1 Handling
Proper handling of Flash state machine in case of
query cap V1 getting selected.

CRs-Fixed: 3416292
Change-Id: Ib727c26ac9b6c723b64f4c6dfdb6ea359716d8d4
Signed-off-by: Abhilash Mahapatra <quic_abhmah@quicinc.com>
2024-08-15 22:30:06 +03:00
Michael Bestas
79b085f06c Merge tag 'CAMERA.LA.2.0.r1-12000-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into lineage-20
"CAMERA.LA.2.0.r1-12000-WAIPIO.0"

* tag 'CAMERA.LA.2.0.r1-12000-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: jpeg: Fix potential OOB access

Change-Id: Idb8117e5102c5467ddbb4b71f2cc661f621c1863
2024-08-15 22:28:04 +03:00
Jens Reidel
f143449b4d Merge tag 'CAMERA.LA.2.0.r1-11900-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into lineage-20
"CAMERA.LA.2.0.r1-11900-WAIPIO.0"

* tag 'CAMERA.LA.2.0.r1-11900-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: memmgr: Remove the mutex lock for kref variable

Change-Id: I385b18e8c0ca9498fc1e6891a00fa69ead891d69
2024-07-23 10:11:54 +02:00
Michael Bestas
6bac42d598 Merge tag 'CAMERA.LA.2.0.r1-11800-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into lineage-20
"CAMERA.LA.2.0.r1-11800-WAIPIO.0"

* tag 'CAMERA.LA.2.0.r1-11800-WAIPIO.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: tpg: Handles possible OOB Condition
  msm: camera: memmgr: Add refcount to track umd in use buffers
  msm: camera: sensor: Handling race condition in util api
  msm: camera: sensor: Proper handling of race condition in util api
  msm: camera: sensor: Proper handling of race condition in util api
  msm: camera: common: Fix possible OOB reads and writes operation

Change-Id: I2764f8147161e9bff02fcdc776c57db4ecc1d99b
2024-05-23 16:57:54 +03:00
Pranav Vashi
131edc5d53 treewide: Add void argument to old-style zero prototype functions
Change-Id: I2d6dee403fb85751279417f82ad34404eae900e1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-05-07 06:53:00 +03:00
Arian
17c6767105 camera-kernel: Add kbuild options from Android.mk to Makefile
Change-Id: If982033e4f8196ef757341a9b3628a42de471c98
2024-05-07 02:54:53 +03:00
Michael Bestas
ec5a6fd5c3 Add 'qcom/opensource/camera-kernel/' from commit '89572587611acf6335300fda205f6acbdb129eb3'
git-subtree-dir: qcom/opensource/camera-kernel
git-subtree-mainline: 4771641151
git-subtree-split: 8957258761

repo: https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel
tag: CAMERA.LA.2.0.r1-11200-WAIPIO.0
Change-Id: I2f798280c2fbe41289fe71c93ad76acef2ecac25
2024-05-07 02:50:07 +03:00