/* Clear command GO bit, DMA GO bit, and DMA completion status */
static void stop_command(struct nand_ctlr *reg)
/* Clear command GO bit, DMA GO bit, and DMA completion status */
static void stop_command(struct nand_ctlr *reg)
{
	writel(0, &reg->command);
	writel(DMA_MST_CTRL_GO_DISABLE
		| DMA_MST_CTRL_IS_DMA_DONE,
		&reg->dma_mst_ctrl);
}