ideapad: Only allow camera state to be set to 0 or 1