RE: [PATCH v3 1/2] v4l: Add memory-to-memory device helper framework for videobuf.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Andy Walls [mailto:awalls@xxxxxxxxxxxxxxxx] wrote:


>I didn't do a full review (I have no time lately), but I noticed this:
>
>
>> +static void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx)
>> +{
>> +	struct v4l2_m2m_dev *m2m_dev;
>[...]
>> +	v4l2_m2m_try_run(m2m_dev);
>> +}
>
>[...]
>
>> +void v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev,
>> +			 struct v4l2_m2m_ctx *m2m_ctx)
>> +{
>[...]
>> +	  v4l2_m2m_try_schedule(m2m_ctx);
>> +	v4l2_m2m_try_run(m2m_dev);
>> +}
>
>I assume it is not bad, but was it your intention to have an addtitonal
>call to v4l2_m2m_try_run() ?


Thanks for noticing that, but yes, this is intentional. Simplifies the code
a bit and will work properly.


Best regards
--
Pawel Osciak
Linux Platform Group
Samsung Poland R&D Center





--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux