[Sound-open-firmware] [RFC PATCH v2 3/8] dma: ops: introduce num_channels_busy to get number of busy channels in DMAC

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Jun 7 13:48:34 CEST 2018


On Wed, 2018-06-06 at 16:09 -0700, Ranjani Sridharan wrote:
>  
> +               /* atomically increment num channels in use */
> +               __sync_fetch_and_add(&dma->num_channels_busy, 1);

Cant see where this is defined so this wont compile ? Please see arch/atomic.h
for atomic arithmetic.

Liam


More information about the Sound-open-firmware mailing list