p31xx: landscape support, small fix