Re: [PATCH] OMAP: Fix McBSP spin_lock deadlock.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* David Brownell <david-b@xxxxxxxxxxx> [081105 15:53]:
> On Wednesday 05 November 2008, Stanley.Miao wrote:
> > @@ -333,7 +333,8 @@ struct omap_mcbsp_platform_data {
> >         u8 dma_rx_sync, dma_tx_sync;
> >         u16 rx_irq, tx_irq;
> >         struct omap_mcbsp_ops *ops;
> > -       char const *clk_name;
> > +       char const *ick_name;
> > +       char const *fck_name;
> >  };
> >  
> >  struct omap_mcbsp {
> 
> I thought the idea was to fix this using the clock aliasing
> facility ... so that the mcbsp driver would just
> 
> 	ick = clk_get(dev, "ick");
> 	fck = clk_get(dev, "fck");
> 
> (with IS_ERR checks of course) and the platform data would
> no longer need to hold those names.
> 
> That approach can work on OMAP1 too ... I think this patch
> breaks OMAP1 boards.

Russell also has some ideas, so despite the nasty bug, let's put
the clock aliasing and virtual clocks stuff on hold for a little
while. Meanwhile, maybe we can just add some function for the
virtual clock that does not cause the recursion?

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux