[added to the 4.1 stable tree] bna: avoid writing uninitialized data into hw registers