spi: tegra: set INTR_MASK only once
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Wed, 11 May 2016 04:54:16 +0000 (09:54 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 24 May 2016 19:41:02 +0000 (12:41 -0700)
commitf7b638b489caddd42f329832efb64916fd71e0a6
treed61c0ce2104e20e0461d3754268a1763dbac611c
parent23fd48f50283fbfc6ef27bd50575e5f10146566a
spi: tegra: set INTR_MASK only once

INTR_MASK does not change for each transfer and all interrupts
are enabled always. Write to register only during setup and resume

Bug 1731138

Change-Id: I53f600bd86cb7d605c3f26f6dbbf25ec28346f71
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/1145628
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/spi/spi-tegra114.c