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

2011-04-02 Thread Alex Deucher
On Fri, Apr 1, 2011 at 1:12 AM, 'Liu Yuan wrote: > 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. > nack. the delay count is only an

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

2011-04-02 Thread Alex Deucher
On Fri, Apr 1, 2011 at 1:12 AM, 'Liu Yuan wrote: > 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. > nack. the delay count is only an

[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 inser

[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 inser