From: khilman@ti.com (Kevin Hilman) Date: Wed, 25 May 2011 15:39:03 -0700 Subject: [PATCH 08/15] OMAP2+: GPIO: make workaround_enabled bank specific In-Reply-To: <1306247094-25372-9-git-send-email-tarun.kanti@ti.com> (Tarun Kanti DebBarma's message of "Tue, 24 May 2011 19:54:47 +0530") References: <1306247094-25372-1-git-send-email-tarun.kanti@ti.com> <1306247094-25372-9-git-send-email-tarun.kanti@ti.com> Message-ID: <874o4ipfqw.fsf@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Tarun Kanti DebBarma writes: > From: Charulatha V > > Make workaround_enabled flag bank-specific instead of using a single > flag for all the banks together. This would be helpful while making > use of runtime framework in OMAP GPIO driver which would make the > driver handle each GPIO bank independently. > > Also rename workaround_enabled flag to off_mode_wkup_wa_enabled Do we even need a dedicated flag for this? I seems that the combination of enabled_non_wakeup_gpios and whether or not context has been lost could be used to check this condition. Kevin