On Tue, May 1, 2012 at 8:39 PM, Shawn Guo <shawn.guo@xxxxxxxxxx> wrote: > On Tue, May 01, 2012 at 08:47:10PM +0800, Shawn Guo wrote: >> > + clk_register_clkdev(cko1, NULL, "0-000a"); >> >> This dev_id looks a little strange to me. I understand that's the >> consequence of having sgtl5000 clock managed in ASoC machine driver >> imx-sgtl5000. >> > Just realised it's not the case. But shouldn't the name look like > "sgtl5000.0-000a"? Since this is common code, we should not hardcode the I2C bus as the codec can be connected in a I2C bus different of 0. -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html