diff options
| author | Wangao Wang <wangao.wang@oss.qualcomm.com> | 2026-05-12 16:55:14 +0800 |
|---|---|---|
| committer | Bryan O'Donoghue <bod@kernel.org> | 2026-05-30 08:41:48 +0100 |
| commit | df5418d5f96c88430661a17143f4b74666dcc471 (patch) | |
| tree | 36f2f8d1cf882f7e5e5e7e66a495c093fc1f27fe /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | e0507d45b3c171296248b4382271a003c6c2e058 (diff) | |
media: qcom: iris: Optimize iris_hfi_gen1_packet_session_set_property
Modify iris_hfi_gen1_packet_session_set_property to simplify size
calculations and remove redundant code patterns.
Previously, packet->shdr.hdr.size was incremented by sizeof(u32) in
every switch case, resulting in repetitive and less maintainable
logic.
Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-HDK
Signed-off-by: Wangao Wang <wangao.wang@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
