/* Flush routine, it simply sets the flush flag and tries to start pending IO.  */
static void raw3215_flush_buffer(struct raw3215_info *raw)
/* Flush routine, it simply sets the flush flag and tries to start pending IO.  */
static void raw3215_flush_buffer(struct raw3215_info *raw)
{
	unsigned long flags;
	spin_lock_irqsave(get_ccwdev_lock(raw->cdev), flags);
	if (raw->count > 0) {
		raw->flags |= RAW3215_FLUSHING;
		raw3215_try_io(raw);
		raw->flags &= ~RAW3215_FLUSHING;
	}
	spin_unlock_irqrestore(get_ccwdev_lock(raw->cdev), flags);
}