ARM: SAMSUNG: Save/restore only selected uart's registers
authorYadwinder Singh Brar <yadi.brar@samsung.com>
Wed, 24 Jul 2013 08:05:07 +0000 (17:05 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 24 Jul 2013 08:05:07 +0000 (17:05 +0900)
commit7bdc84fb82627f34d9e13c37926f70fcde38e4c4
tree31b9cda03950e667e25814e1e168233a48ab3a59
parent89693016e372983d720c186c0d00b29414b58804
ARM: SAMSUNG: Save/restore only selected uart's registers

Basically this code gets executed only during debugging i.e when
DEBUG_LL & SAMSUNG_PM_DEBUG is on, so required only for UART used
for debugging. Since we are removing static iodesc entries for UARTs,
so now only the selected (CONFIG_DEBUG_S3C_UART) UART will be
ioremapped by the debug_ll_io_init() for DEBUG_LL, so save/restore
uart registers only for selected uart.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/pm.c