From mboxrd@z Thu Jan 1 00:00:00 1970 From: peter@hurleysoftware.com (Peter Hurley) Date: Fri, 10 Oct 2014 06:25:26 -0400 Subject: [PATCH] serial: of-serial: fix up PM ops on no_console_suspend In-Reply-To: <01583b7f252b4f81a5655009f6f73aba@BL2PR03MB467.namprd03.prod.outlook.com> References: <1412845852-26157-1-git-send-email-jingchang.lu@freescale.com> <543768F3.6090703@wwwdotorg.org> <01583b7f252b4f81a5655009f6f73aba@BL2PR03MB467.namprd03.prod.outlook.com> Message-ID: <5437B416.2080606@hurleysoftware.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/10/2014 02:16 AM, Jingchang Lu wrote: >> From: Stephen Warren [mailto:swarren at wwwdotorg.org] >> On 10/09/2014 02:10 AM, Jingchang Lu wrote: >>> Mandatorily disabling the uart clock will cause register access hung >>> on "no_console_suspend". This patch add condition check on it and only >>> disable the clock with console_suspend_enabled true. >> >> It would be useful if the email/patch subject line said "V2", and there >> was a changelog below. > This is not a v2, patch "serial: of-serial: add PM suspend/resume support > (commit 2dea53bf57783f243c892e99c10c6921e956aa7e)" has been merged into > linux-next tree, this is a fixup on that PM ops. Then please say so in the commit log. Something like, Fix commit 2dea53bf57783f243c892e99c10c6921e956aa7e, "serial: of-serial: add PM suspend/resume support", which disables the uart clock on suspend, but also causes a hardware hang on register access if no_console_suspend command line option is used. Regards, Peter Hurley