Signed-off-by: Imre Deak <imre.deak@nokia.com>
if (rot_type == ofbi->rotation_type)
goto out;
if (rot_type == ofbi->rotation_type)
goto out;
- r = -EBUSY;
- if (ofbi->region.size)
+ if (ofbi->region.size) {
+ r = -EBUSY;
ofbi->rotation_type = rot_type;
ofbi->rotation_type = rot_type;
* Since the VRAM for this FB is not allocated at the moment we don't need to
* do any further parameter checking at this point.
*/
* Since the VRAM for this FB is not allocated at the moment we don't need to
* do any further parameter checking at this point.
*/
out:
omapfb_unlock(fbdev);
out:
omapfb_unlock(fbdev);