Linear controllability by piecewise constant controls with assigned switching times