mixer-control: do not use port name string to select the headset ports
It is a bad idea to use the variable port name to check the port type. Use only the new port type and availability group string for the decision. Also, select the ports by priority, if there multiple ports with the similar type.
Please register or sign in to comment