treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / samsung / idma.h
blob8a46a918ed2a6a0d7918e585c4396c2d656bb6de
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd
4 * http://www.samsung.com
5 */
7 #ifndef __SND_SOC_SAMSUNG_IDMA_H_
8 #define __SND_SOC_SAMSUNG_IDMA_H_
10 extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr);
12 /* dma_state */
13 #define LPAM_DMA_STOP 0
14 #define LPAM_DMA_START 1
16 #define MAX_IDMA_PERIOD (128 * 1024)
17 #define MAX_IDMA_BUFFER (160 * 1024)
19 #endif /* __SND_SOC_SAMSUNG_IDMA_H_ */