Motor vehicle door lock with electronic motor control