soc: ti: qmss: fix the case when !SMP
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 30 Nov 2016 16:53:51 +0000 (10:53 -0600)
committerArnd Bergmann <arnd@arndb.de>
Wed, 30 Nov 2016 21:10:23 +0000 (22:10 +0100)
commit920f8bf7f366ed20935669f782ffcb5a36d5df8f
treeae19dd640cbeee8bb46b535803c051fabf6530ff
parent44b736d0a0f2441cab1c2ebc03518ba5102a796f
soc: ti: qmss: fix the case when !SMP

The irq_set_affinity_hint() will always fail when !SMP and
Networking will fail on Keystone 2 devices in this case.
Hence, fix by ignoring IRQ affinity settings when !SMP.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/ti/knav_qmss_queue.c