hal: check usecase type before checking out_snd_device backend match

input_snd_device for voip_call may be wrongly switched when selecting
device for other usecase like audio-record with voip active because of
regression of previous change, thus when VoIP use out_snd_device of
other usecase for cal block register, it may fail because other usecase
has no out_snd_device and finally Rx gets mute.

Only check out_snd_device backend match for usecase type PCM_PLAYBACK.

Change-Id: Id063b47e5c154249e502b7abfb9a639d3229dbba
CRs-Fixed: 2046903
1 file changed