qcacmn: Unify Q_TARGET_ACCESS macros
Sleep state adjust has been added the the bus_ops table and the macros using it can be unified. Change-Id: Id08f5d95c295ab8419c0ae60519aae064c318856 CRs-Fixed: 986480
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
858f723a62
commit
bd8c04fa24
@@ -36,6 +36,11 @@
|
||||
#define hif_write32_mb(addr, value) \
|
||||
iowrite32((u32)(value), (void __iomem *)(addr))
|
||||
|
||||
#define Q_TARGET_ACCESS_BEGIN(scn) \
|
||||
hif_target_sleep_state_adjust(scn, false, true)
|
||||
#define Q_TARGET_ACCESS_END(scn) \
|
||||
hif_target_sleep_state_adjust(scn, true, false)
|
||||
|
||||
#ifdef HIF_PCI
|
||||
#include "hif_io32_pci.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user