mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
71c6efd993
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 <airlied@gmail.com> Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
intelfb_i2c.c | ||
intelfb.h | ||
intelfbdrv.c | ||
intelfbhw.c | ||
intelfbhw.h | ||
Makefile |