Merge "sdm: Cache command mode status during initialization"