return bytes_to_frames(substream->runtime, pos);
 }
 
-static int skl_platform_soc_mmap(struct snd_soc_component *component,
-                                struct snd_pcm_substream *substream,
-                                struct vm_area_struct *area)
-{
-       return snd_pcm_lib_default_mmap(substream, area);
-}
-
 static u64 skl_adjust_codec_delay(struct snd_pcm_substream *substream,
                                u64 nsec)
 {
        .trigger        = skl_platform_soc_trigger,
        .pointer        = skl_platform_soc_pointer,
        .get_time_info  = skl_platform_soc_get_time_info,
-       .mmap           = skl_platform_soc_mmap,
        .pcm_construct  = skl_platform_soc_new,
        .module_get_upon_open = 1, /* increment refcount when a pcm is opened */
 };