ASoC: wm_adsp: Warn that firmware file format 0 is depreciated
[firefly-linux-kernel-4.4.55.git] / sound / soc / codecs / wm_adsp.c
index 1c45d67cfb4f6da9fa9fbb325e99b4633526c5f5..00289bfb761734ecce00c44e7d79219778879047 100644 (file)
@@ -911,6 +911,9 @@ static int wm_adsp_load(struct wm_adsp *dsp)
 
        switch (header->ver) {
        case 0:
+               adsp_warn(dsp, "%s: Depreciated file format %d\n",
+                         file, header->ver);
+               break;
        case 1:
        case 2:
                break;