diff options
author | Andrew F. Davis <afd@ti.com> | 2019-01-04 12:39:54 -0600 |
---|---|---|
committer | Andrew F. Davis <afd@ti.com> | 2019-01-21 12:05:43 -0600 |
commit | 4f9444cd292c367fe60259b8000635d238613b4e (patch) | |
tree | e360f171294e3610807b0e36e805ae862a9a0b40 /plat/ti | |
parent | c40c88f81b7fb7c78e8f491b462f29814337dcf5 (diff) |
ti: k3: drivers: sec_proxy: Switch error messages
The logic is correct here, but the error messages are
reversed, switch them.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'plat/ti')
-rw-r--r-- | plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c b/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c index 5dd54d4f..2a013ed0 100644 --- a/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c +++ b/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c @@ -139,10 +139,10 @@ static inline int k3_sec_proxy_verify_thread(struct k3_sec_proxy_thread *spt, if ((mmio_read_32(spt->scfg + SCFG_THREAD_CTRL) & SCFG_THREAD_CTRL_DIR_MASK) != (dir << SCFG_THREAD_CTRL_DIR_SHIFT)) { if (dir) - ERROR("Trying to receive data on tx Thread %d\n", + ERROR("Trying to send data on RX Thread %d\n", spt->id); else - ERROR("Trying to send data on rx Thread %d\n", + ERROR("Trying to receive data on TX Thread %d\n", spt->id); return -EINVAL; } |