/* ipu_select_buffer() - mark a channel's buffer as ready. @channel: channel ID. @buffer_n: buffer number to mark ready.  */
static void ipu_select_buffer(enum ipu_channel channel, int buffer_n)
/* ipu_select_buffer() - mark a channel's buffer as ready. @channel: channel ID. @buffer_n: buffer number to mark ready.  */
static void ipu_select_buffer(enum ipu_channel channel, int buffer_n)
{
	if (buffer_n == 0)
		idmac_write_ipureg(&ipu_data, 1UL << channel, IPU_CHA_BUF0_RDY);
	else
		idmac_write_ipureg(&ipu_data, 1UL << channel, IPU_CHA_BUF1_RDY);
}