Wlan: Pass Actual device for DMA allocations

With Arm64 it is no longer valid to pass in a NULL pointer as the
first argument for DMA allocating API's.

While allocating DMA memory we need to pass the struct device pointer
So, made changes accordingly to pass the device.

CRs-Fixed: 638000
Change-Id: Idac94136e6cb3ca773bd295ee3502a72c4cffd2f
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index 9bcf6d5..3483dc5 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -1284,8 +1284,7 @@
  open both the data and the control transport which in their turn will open
  DXE/SMD or any other drivers that they need.
 
- @param pOSContext: pointer to the OS context provided by the UMAC
-                    will be passed on to PAL on Open
+ @param devHandle: pointer to the OS specific device handle
         ppWDIGlobalCtx: output pointer of Global Context
         pWdiDevCapability: output pointer of device capability
 
@@ -1294,7 +1293,7 @@
 WDI_Status
 WDI_Init
 (
-  void*                      pOSContext,
+  void*                      devHandle,
   void**                     ppWDIGlobalCtx,
   WDI_DeviceCapabilityType*  pWdiDevCapability,
   unsigned int               driverType
@@ -1336,7 +1335,7 @@
 
   /*Setup the control block */
   WDI_CleanCB(&gWDICb);
-  gWDICb.pOSContext = pOSContext;
+  gWDICb.pOSContext = devHandle ;
 
   /*Setup the STA Table*/
   wdiStatus = WDI_STATableInit(&gWDICb);
@@ -1351,7 +1350,7 @@
   /*------------------------------------------------------------------------
     Open the PAL
    ------------------------------------------------------------------------*/
-  wptStatus =  wpalOpen(&gWDICb.pPALContext, pOSContext);
+  wptStatus =  wpalOpen(&gWDICb.pPALContext, devHandle);
   if ( eWLAN_PAL_STATUS_SUCCESS != wptStatus )
   {
     WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL,