Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932296AbdDDQp2 (ORCPT ); Tue, 4 Apr 2017 12:45:28 -0400 Received: from mail-ve1eur01on0080.outbound.protection.outlook.com ([104.47.1.80]:20992 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932072AbdDDQp0 (ORCPT ); Tue, 4 Apr 2017 12:45:26 -0400 Authentication-Results: alsa-project.org; dkim=none (message not signed) header.d=none;alsa-project.org; dmarc=none action=none header.from=nxp.com; From: Daniel Baluta To: CC: , , , , , , , , , Subject: [PATCH 0/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL Date: Tue, 4 Apr 2017 19:45:12 +0300 Message-ID: <1491324314-27067-1-git-send-email-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.146.1] X-ClientProxiedBy: VI1PR09CA0066.eurprd09.prod.outlook.com (2603:10a6:802:28::34) To DB4PR04MB506.eurprd04.prod.outlook.com (2a01:111:e400:983a::14) X-MS-Office365-Filtering-Correlation-Id: c7ddfbde-d06c-444e-da1c-08d47b79fcda X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(48565401081)(201703131423075)(201703031133081);SRVR:DB4PR04MB506; X-Microsoft-Exchange-Diagnostics: 1;DB4PR04MB506;3:HkLenxOgtYW1DBsib3C467gPnScnyqI7s6jZIvpXQQd4oek9Z/3JZMT41MAivNHmwfezSTUUtXP8eSDb0aPVEl12wJUaTvLyPyRj9Np1L985PUtlm90mR2cbZXjxhGIEduG/RY6Vek51d93qYlnXoQNIl68jnUkwu7Nbb9pklbBU1gY57c0YgO/fPWo7xEKiC7lsNyF6inMpiQ2C7TorfkyDNxoXENFWVNPSix2LP2X6WJ+tx/AAtY/HOxXOkn6j8+6QYxv/zmeWxlh4X5DChikQTjeV3B/llU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wf5OMvn+L4YQM3RTnrqfn61thbkobDRh9ziEegfOaG1iaK9WZW1XLfu6VofO5VBHQXw37kPxat8HxCMY95Oi7pQjlgJzSGw7qyBWgeVJw0O+FdWzw+dPjPrq3/XzWRvAkFAoKix/npNcQiCbSHVCHJ8ADnmGRP888XUukMUsDcjVz+IfUv7e1UDpS+cTOYzJGpz96L1OobJ95yy4TIedhgeO7ef1lo7ZTo+uT5m1eJzI9v89m3A1/zLA+q7AzZd3Ph X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123564025)(6072148);SRVR:DB4PR04MB506;BCL:0;PCL:0;RULEID:;SRVR:DB4PR04MB506; X-Microsoft-Exchange-Diagnostics: 1;DB4PR04MB506;4:r5/wmDbihn+Z7OpYBW2sXTnF5WiapTJXFAOXYjk6Pd5qy33SIbeMiFh8Q6dc7Ak76awsKR7YSnFq9+SfrscPtEYcatswg/JD1XAzBqi+CwI4oypOcm9/7z6EtrizLwKus1iRnoZVnD55r5prKuJh4zmY4ZQWIcoA7sh+cJsX92AJ62sYfr2y9epLdJnXMHjRaT/onAp+JTwrnMmEzOuMDehZNWsPx+AbGGNSDbtlSsISwqC/GP0HFwwqNRs2Kvi9LZc+Af2VgRz1/rSFuWgnxLuv04eZOclyRhsCZu7iBSoyTGSqRf0JlMvtIkgAlaWIfOQqnFtsf7WJGuI58FnF7VrbXmPQHx3oZyguqgHL7QB1dtf0y6+/YPu14omeUM1rK33WRWN7AlF/CnAY0GlKx0B5ApAA7QNR/fZJoyHOOxV86UC7bGvmJeVXjOzRJwcXgiEa+8+oWYVRtZqsCEt4Gf+xk31dhC+a6qSMjqA+FnYVkoCFKrjxN/4gGJYk6iVfPZ2oMoo16h16pwg/huuDkYUPBZCStCa3s7I53+jYkY+8FbrK83C8Q6T/mjKVftwK1xOzQFbjczh8+WUNa6WzQuzU+YklRnEO9KZ85yxBy8mbvjN4KhPrcPVKOfzilZK6flAZETprGdn3bfdjlIuGPJAKo3eIsN9mKNzyEKbNhfjTfeKhNkzTTJMXQbAU3g5pfMrem/GTNs+vlG7kEIm2eXEk0Pr4XdziiNzSwS4Nprw= X-Forefront-PRVS: 0267E514F9 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39410400002)(39850400002)(39400400002)(39840400002)(39860400002)(39450400003)(5660300001)(66066001)(50226002)(6486002)(2906002)(6506006)(6116002)(54906002)(53936002)(36756003)(25786009)(305945005)(47776003)(6512007)(50986999)(50466002)(5003940100001)(48376002)(86362001)(3846002)(38730400002)(81166006)(2351001)(8676002)(4326008)(42186005)(6916009)(110136004)(33646002)(189998001)(7736002)(6666003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB4PR04MB506;H:fsr-ub1664-118.ea.freescale.net;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB4PR04MB506;23:khAFoAS63EPDEAeDkwRZGB66Z+I9STxFKjlHCl9pdX?= =?us-ascii?Q?FxpFOwTCs//gqu2WRzpQqTLwD8kVyTWpxnonZIdtsIBodein1tNmzFgfvDRx?= =?us-ascii?Q?FfbJdOkNAe98IiE7p50rvYfUMJ402TYRKm7AkrGOLXnR5KXR97hPIQ0URwOc?= =?us-ascii?Q?hec6kX3NYnWoZpzD3A9G6SYuWmzDwerE2Xv/VKjCXWNEOepNhxJljQtAi1qr?= =?us-ascii?Q?W8lvMXCMYENXeEZCZ8XhOWRCqhdQCMGX8o2NEnLXIeUS1CLksTC4ViH7xPUe?= =?us-ascii?Q?MBx4rYeE/bhL5E8uwo3q15SFxeJ/BOtcxiSnTEZFROF6ZGUU+VgBOnvduzoa?= =?us-ascii?Q?11xLCOgGrjG//AObNn2F2bLktyCaub8FDqfRzoX8TVYnK1YiYIR6DBj+pf52?= =?us-ascii?Q?u2DR4ol4cGiNHkzJftHgoWBkCuuu+IOkB9CkERMVjNYngaRk5s6NTKOq42V4?= =?us-ascii?Q?JGjTKTLvr0X0vKRUtYPZ487+rlpI6QDKhQMsKiiNiAIuuylaZR8Odh8WPQrB?= =?us-ascii?Q?LBGMkB1IkBzEhawbYqhDmhm9Xe9GcUM/Vhe5OUVmSVKehSybuNeEufG/hiO1?= =?us-ascii?Q?4HoIqSP+WEj7erNDYw8Kvn/l6iU9IoydY6JaF16pVftdcPdRmt51akQwniHa?= =?us-ascii?Q?VcBeCxHhYty4ac3dDPunGHWvTaPYDVmvJa3b57M0RqrPJejxWAOWycDKeJdB?= =?us-ascii?Q?Ah7xT4a2M0YlbbFrONKKdILhAEUsR4yYDTxx9Hd0xr4bZCHqSv+Bm7Fs45qj?= =?us-ascii?Q?58k+ARX7pKgbiO18pCYG1ji1cleMV6nQeuiorzYzyEberUmkIpzcwBwwYufY?= =?us-ascii?Q?LWs3E7E6ZG8CPDBe/Hvkp8QcA160Gely/oKhW+lOpBHgpMb522h3wl5NSvuo?= =?us-ascii?Q?bWHaNLmS2hj9oxlUHQHoLfXfzzEwUbrRfoizvn8qqV0ngtNSkWIBXpGStm3a?= =?us-ascii?Q?ZWwQVqqJdSok9+IBRELHQ+MIm2HmsaZoeHpwJId9PSRpGvhodZApT8FQfeXD?= =?us-ascii?Q?d1vLC2YkIQqbzihTcEv25poGzgjbvfDmqmhQVuG+5DNg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;DB4PR04MB506;6:VNOL5Wwkmji6oHDBUbKtoJL9uujseW5AlFUeax1moBVBz49kZL/D7bz1zGjoPKoBpbD4vS7g1pMtA8mIonTNh1p1pYzAkBPj7b9cwo5O66yGl13kATlsgY0lAekd8eF/wVOQaI8iHckEbEMLDWhXawZvAxiWncUlcsot6d6mWX3m3SC7mkZEoamkxog4nM3syUamegBHtjyytB0D20mZbI07YMp+Ry3Dc+hOs8fQxtOeyuIpJLf5F46TOGXN6b8Ge9T4rgVsPMh8jgxiPtbkB+x3+3NE9f/IvMEfXBwRvI+yg1TFX/GIReRhvaK087bhu4bM0XfelD6cdSH4fcIeQGAh0vzzEK0NWotCIGK+HgRfB7dVZsqV44bwXp8C6noMdl3l4Bef5njEDiqUnir3O5E3sfBj+deDMZx1irMLtEI=;5:jekq2BznEliCm9V1Pe0icphU7/7WJ66oUA+uGDkdmrbIc3IWv6OxKnzM+yz9kyeM3WEQ9zXPd1MiRhcxHRJCu72B96XmdLFs2fO4wtdWNJw/d5D0pdOpEUdcKtiPJDwbHGqsH7s3AjDnVVtQBPfq9A==;24:ixQYbZoPwmR4iBZEYvUNHFvmK8vk8fPcb/UMeZZX2K5rEhx6Qm4PvCrDGh1gMT/RhIjluU9BFxhvXLzy/va0jU0N1qF67mClLsP+YwSI9Uo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DB4PR04MB506;7:Hm61PZjTUhKXuUNW4fItngRUeHSBU2lWhJaAAkNh3sv+Cb5mnQAr9tk7n35/g5ulcHU/Xuo+azRdQ5gdgTCuljAtBK6ZA99ISEZQzTUgdfkE7WswBOJq1IHE5Fk3/M1QPCHDHDk2pU06u3baqQ1TCjh9M+X1kWxezzLsLfmgddGVKpc64F0SyJHOIZOyFf305I2vxMpOyRn5oCbe7KU19w7zRmcrQh/GZK3xPYZ9Br6cPoe2ih2D+3I8KZLtvgKDjaKlmzUATrRFRgl9y7PT9ST7ctWClpRt65q5EImQ79Z7YR3kbYUQfLOgFYZHLmqvokqBn1EKO4z0wj3HKC3PcQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2017 16:45:21.7663 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB506 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 492 Lines: 14 This is a follow up of commit 3c01b9ee2ab ("ASoC: codec: wm8960: Relax bit clock computation") where we relaxed bitclk when sysclk was derived from MCLK. Now, we do the same thing for sysclk derived using PLL. Daniel Baluta (2): ASoC: codec: wm9860: Refactor PLL out freq search ASoC: codec: wm8960: Relax bit clock computation when using PLL sound/soc/codecs/wm8960.c | 105 +++++++++++++++++++++++++++++++++------------- 1 file changed, 76 insertions(+), 29 deletions(-) -- 2.7.4