[PATCH] drm/radeon: Fix an always-false-comparison

2011-04-01 Thread 'Liu Yuan
From: Liu Yuan In the function atom_op_delay() of drivers/gpu/drm/radeon/atom.c, the comparison performed in the udelay() is always false due to that the unsigned-char is compared to an integer 2. Signed-off-by: Liu Yuan --- drivers/gpu/drm/radeon/atom.c |2 +- 1 files changed, 1

[PATCH] drm/radeon: Fix an always-false-comparison

2011-04-01 Thread 'Liu Yuan
From: Liu Yuan In the function atom_op_delay() of drivers/gpu/drm/radeon/atom.c, the comparison performed in the udelay() is always false due to that the unsigned-char is compared to an integer 2. Signed-off-by: Liu Yuan --- drivers/gpu/drm/radeon/atom.c |2 +- 1 files changed, 1