[aml] fixed double deviceid from f8b834d2ec031a13c0297bb49fabe9aad3864462
[aml] temp fixes, from frodo 12.1 backports, replace when we merge with 12.1
[aml] fixed, do not talk to codec if it is not open yet