<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Old i2s microphone driver does not work on newer kernel versions with imx8mq. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Old-i2s-microphone-driver-does-not-work-on-newer-kernel-versions/m-p/1509914#M194152</link>
    <description>&lt;P&gt;FYI.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/imx-wm8958.c?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/imx-wm8958.c?h=lf-5.10.y&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 06:00:01 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2022-08-23T06:00:01Z</dc:date>
    <item>
      <title>Old i2s microphone driver does not work on newer kernel versions with imx8mq.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Old-i2s-microphone-driver-does-not-work-on-newer-kernel-versions/m-p/1505092#M193743</link>
      <description>&lt;P&gt;I am trying to use the driver and a slightly modified DTS from this post.&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/IMX8MM-SPH0645-I2S-microphone-speed-up-recordings/m-p/1504205#M193691" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/IMX8MM-SPH0645-I2S-microphone-speed-up-recordings/m-p/1...&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think the driver was made by following this document.&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors%40tkb/828/1/Add%20audio%20record%20driver%20in%20i.MX8MQ%26MM.pdf" target="_blank" rel="noopener"&gt;https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors%40tkb/828/1/Add%20audio%2...&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The problem is that the driver no longer compiles.&amp;nbsp; I get this error:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sound/soc/fsl/imx-sph0645.c:43:35: error: ‘struct snd_soc_pcm_runtime’ has no member named ‘cpu_dai’&lt;BR /&gt;43 | struct snd_soc_dai *cpu_dai = rtd-&amp;gt;cpu_dai;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I think this has to do with my kernel version because the&amp;nbsp;imx-wm8524.c diver that the sph0645 driver appears to be based off of disappeared somewhere between imx kernel 5.4 and 5.10.&amp;nbsp; So my questions are what happened to&amp;nbsp;imx-wm8524.c?&amp;nbsp; Was it replaced by something else I should use for reference instead?&amp;nbsp; Why is 'cpu_dai'&amp;nbsp; no longer a member of 'struct snd_soc_pcm_runtime'?&amp;nbsp; What can I change to fix this error?&amp;nbsp; Alternatively, my goal is to get an sph0645 i2s microphone working with my imx8mq on kernel 5.15, so what other driver can I use, or what else can I do to get this to work?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 15:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Old-i2s-microphone-driver-does-not-work-on-newer-kernel-versions/m-p/1505092#M193743</guid>
      <dc:creator>synaption</dc:creator>
      <dc:date>2022-08-11T15:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Old i2s microphone driver does not work on newer kernel versions with imx8mq.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Old-i2s-microphone-driver-does-not-work-on-newer-kernel-versions/m-p/1509914#M194152</link>
      <description>&lt;P&gt;FYI.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/imx-wm8958.c?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/imx-wm8958.c?h=lf-5.10.y&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Old-i2s-microphone-driver-does-not-work-on-newer-kernel-versions/m-p/1509914#M194152</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2022-08-23T06:00:01Z</dc:date>
    </item>
  </channel>
</rss>

