Merge "ASoC: msm: Default format for the compressed driver as LPCM" into msm-3.4
diff --git a/sound/soc/msm/msm-compr-q6.c b/sound/soc/msm/msm-compr-q6.c
index bb138d3..05e6e9e 100644
--- a/sound/soc/msm/msm-compr-q6.c
+++ b/sound/soc/msm/msm-compr-q6.c
@@ -1014,8 +1014,10 @@
 			compr->codec = FORMAT_AMR_WB_PLUS;
 			break;
 		default:
-			pr_err("msm_compr_ioctl failed..unknown codec\n");
-			return -EFAULT;
+			/*Needed for the HDMI IN compressed use case*/
+			pr_debug("FORMAT_LINEAR_PCM\n");
+			compr->codec = FORMAT_LINEAR_PCM;
+			break;
 		}
 		return 0;
 	case SNDRV_PCM_IOCTL1_RESET: