[PATCH 2/2] qm: optimize set hw_reset flag logic for user