/* vx_conf_pipe - tell the pipe to stand by and wait for IRQA. @pipe: the pipe to be configured  */
static int vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe)
/* vx_conf_pipe - tell the pipe to stand by and wait for IRQA. @pipe: the pipe to be configured  */
static int vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe)
{
	struct vx_rmh rmh;
	vx_init_rmh(&rmh, CMD_CONF_PIPE);
	if (pipe->is_capture)
		rmh.Cmd[0] |= COMMAND_RECORD_MASK;
	rmh.Cmd[1] = 1 << pipe->number;
	return vx_send_msg_nolock(chip, &rmh);
}