hal: Remove mode check on open input for Telephony Rx device
Existing code checks for AUDIO_MODE_IN_CALL during open input
stream for Telephony Rx device. However, Telephony Rx is an
attached device and APM tries input stream open for all attached
devices with default attributes during initialization to check if
device is supported by HAL. The mode check in HAL prevents
Telephony Rx from getting attached to primary module. Fix this by
removing the mode check that does not account for above scenario.
Change-Id: Ic149f38a5d50c8608b82309426d0f8794382a941
1 file changed