summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2025-06-12 19:59:01 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2025-06-16 08:52:14 +0200
commit797567e81d201ee478f8efa5004804374fc2cbaf (patch)
tree6c12f32cf556023da4af12cab5b6a058bd0c2d28 /tools/perf/scripts/python
parent2632f288ab1180c42c9379893357b8b7744fbf92 (diff)
downloadlinux-797567e81d201ee478f8efa5004804374fc2cbaf.tar.gz
linux-797567e81d201ee478f8efa5004804374fc2cbaf.zip
media: rcar-csi2: Clarify usage of mbps and msps
The helper function to deal with calculating the link speed is designed in such a way that it returns the correct type bps (bits per second) for D-PHY and sps (symbols per second) for C-PHY. And for historical reasons the function kept the name mbps. This is confusing, fix it by having the function only deal with bps values as this is the most common use-case and convert bps to sps in the only function where it is needed to configure the C-PHY. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Tested-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Link: https://lore.kernel.org/r/20250612175904.1126717-2-niklas.soderlund+renesas@ragnatech.se Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions