[Linux-stm32] [PATCH] stm class: Fix channel free in stm output free path

Alexander Shishkin alexander.shishkin at linux.intel.com
Fri Apr 5 10:36:05 UTC 2019


Sai Prakash Ranjan <saiprakash.ranjan at codeaurora.org> writes:

> From: Tingwei Zhang <tingwei at codeaurora.org>
>
> Number of free masters is not set correctly in stm
> free path. Fix this by properly adding the number
> of output channels before setting them to 0 in
> stm_output_disclaim().
>
> Currently it is equivalent to doing nothing since
> master->nr_free is incremented by 0.

Good catch, thank you!



More information about the Linux-stm32 mailing list