/* changes the status to the specified value. Doesn't change other bits in the status  */
static void gelic_descr_set_status(struct gelic_descr *descr, enum gelic_descr_dma_status status)
/* changes the status to the specified value. Doesn't change other bits in the status  */
static void gelic_descr_set_status(struct gelic_descr *descr, enum gelic_descr_dma_status status)
{
	descr->dmac_cmd_status = cpu_to_be32(status |
			(be32_to_cpu(descr->dmac_cmd_status) &
			 ~GELIC_DESCR_DMA_STAT_MASK));
	wmb();
}