RE: [RFC v.3] omap: hwspinlock: Added hwspinlock driver

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

 



Thanks Santosh, I have responded to your feedback.

> > +#include <plat/hwspinlock.h>
> > +
> No need of new  line here.
> > +#include <plat/omap_device.h>
> > +#include <plat/omap_hwmod.h>

Alright I will fix that.

> > +/* Initialization function */
> > +int __init hwspinlocks_init(void)
> Since it's only init, can this go to "arch/arm/mach-omap2/omap4-commin.c" ?

No, since it uses local #defines, we would prefer to put it in its own file.

> > +       if (retval == HWSPINLOCK_BUSY)
> > +               pm_runtime_put(&handle->pdev->dev);
> What resource is getting release with above ??

That was a mistake actually.  It should not be called because the device will be locked by the time that code is reached.


Simon
--
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