![](https://secure.gravatar.com/avatar/5b19e9d0e834ea10ef75803718ad564b.jpg?s=120&d=mm&r=g)
22 Aug
2018
22 Aug
'18
9:53 a.m.
On Tue, 21 Aug 2018 21:46:43 +0200, Ricardo Biehl Pasquali wrote:
In __snd_pcm_lib_xfer(), when capture, if state is PREPARED and size is less than start_threshold nothing can be done. As there is no error, 0 is returned.
Am I missing something?
Not really :) It's just an undefined behavior, so far, and yes, the suggested behavior makes more sense.
Could you resubmit a proper patch for merging? Please follow Documentation/process/submitting-patches.rst.
thanks,
Takashi