Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* Issue with _are_all_hardreset_lines_asserted()
@ 2012-10-04 13:15 Archit Taneja
  2012-10-09  5:38 ` Paul Walmsley
  0 siblings, 1 reply; 6+ messages in thread
From: Archit Taneja @ 2012-10-04 13:15 UTC (permalink / raw)
  To: Omar Ramirez Luna, paul@pwsan.com
  Cc: linux-omap@vger.kernel.org, Rajendra Nayak

Hi,

I was trying out the linux-next kernel, and I noticed that DSS 
MODULEMODE bits are never cleared.

In _omap4_disable_module(), there is a check:

	...

	if (!_are_all_hardreset_lines_asserted(oh))
		return 0;

	/* MODULEMODE bits cleared here */
	...
	...
	...

The function _are_all_hardreset_lines_asserted() returns false if 
'oh->rst_lines_cnt == 0', so we bail out from _omap4_disable_module() 
before clearing the MODULEMODE bits.

Is this correct behavior? This would prevent all hwmods who have 
rst_lines_cnt as 0 to not get their MODULEMODE bits cleared.

Thanks,
Archit

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-10  2:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04 13:15 Issue with _are_all_hardreset_lines_asserted() Archit Taneja
2012-10-09  5:38 ` Paul Walmsley
2012-10-09  6:43   ` Archit Taneja
2012-10-09  6:59     ` Paul Walmsley
2012-10-09  8:38       ` Hiremath, Vaibhav
2012-10-10  2:21   ` Omar Ramirez Luna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox