From 71c6efd9930bd87249d007120425341d1293303d Mon Sep 17 00:00:00 2001 From: "Orczykowski, Juergen" Date: Tue, 8 May 2007 00:37:25 -0700 Subject: [PATCH] intelfb: fix ring space calculation If there is less than RING_MIN_FREE available in the ring buffer, dinfo->ring_space is set to a big value forcing wait_ring to return. Fix by making ring space = 0 if ring space < RING_MIN_FREE. Signed-off-by: Dave Airlie Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed