/* Configure the controller for operation; caller holds the device mutex.  */
static int cafe_ctlr_configure(struct cafe_camera *cam)
/* Configure the controller for operation; caller holds the device mutex.  */
static int cafe_ctlr_configure(struct cafe_camera *cam)
{
	unsigned long flags;
	spin_lock_irqsave(&cam->dev_lock, flags);
	cafe_ctlr_dma(cam);
	cafe_ctlr_image(cam);
	cafe_set_config_needed(cam, 0);
	spin_unlock_irqrestore(&cam->dev_lock, flags);
	return 0;
}