spd: tlkd: remove unwanted assert on System Suspend entry
authorMihir Joshi <mihirj@nvidia.com>
Thu, 1 Mar 2018 22:36:24 +0000 (14:36 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 31 Jan 2019 16:48:47 +0000 (08:48 -0800)
commit278d599c11f356c05ac57b36a20e9eaa4b7fe721
tree23feaff3b58a8f63b0e8acf6ba09e5b8b37ca8aa
parent3ca3c27cad16342e5f2b76511aa2e1d9cdb151a6
spd: tlkd: remove unwanted assert on System Suspend entry

c_rt_ctx is used to store current SP before the system goes
into suspend. The assert for its value being zero is not
really necessary as the value gets over-written eventually.

This patch removes assert(tlk_ctx->c_rt_ctx == 0) from the
System Suspend path, as a result.

Change-Id: If41f15e74ebbbfd82958d8e179114899b2ffb0a7
Signed-off-by: Mihir Joshi <mihirj@nvidia.com>
services/spd/tlkd/tlkd_common.c