Re: [PATCH v2 1/2] media: qcom: camss: Remove use_count guard in stop_streaming

From: Bryan O'Donoghue
Date: Wed Jul 17 2024 - 06:43:20 EST


On 17/07/2024 10:06, Johan Hovold wrote:
The use of use_count like this is a bit hacky and right now breaks regular
usage of CAMSS for a single stream case. As an example the "qcam"
application in libcamera will fail with an -EBUSY result on stream stop and
cannot then subsequently be restarted.
No, stopping qcam results in the splat below, and then it cannot be
started again and any attempts to do so fails with -EBUSY.

I thought that's what I said.

Let me reword the commit log with your sentence included directly :)

---
bod