Re: [GIT PULL] ARM: OMAP: I2C: prepare to use hwmod reset in driver

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

 



Hi

On Fri, 16 Dec 2011, Tony Lindgren wrote:

> * Paul Walmsley <paul@xxxxxxxxx> [111216 11:45]:
> > On Fri, 16 Dec 2011, Tony Lindgren wrote:
> > 
> > > * Paul Walmsley <paul@xxxxxxxxx> [111216 01:24]:
> > >
> > > > Shubhrajyoti D (2):
> > > >       ARM: OMAP: omap_device: add omap_device_reset to reset all the hwmods in the device
> > > >       ARM: OMAP: I2C: Reset support
> > > > 
> > > Can you please update shi to leave out the extra callback
> > > function int (*device_reset) (struct device *dev) as I'd
> > > rather see that happen with pm_runtime calls?
> > 
> > What PM runtime call is used to reset a device?
> 
> Hmm how about pm_runtime_disable? Or do we need a new
> call for reset?

Looking at the last few hunks of:

http://marc.info/?l=linux-omap&m=132377389204328&w=2

it appears to me that the driver needs to reset the device while it's 
still active & powered on, etc.

Shubhrajyoti, care to comment further?


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