Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / ath / ath6kl / sdio.c
index 0bd8ff69461a2fd0afdbce891bcd14047872e78c..fb141454c6d2f3c9de1d82135aeace81b69276fd 100644 (file)
@@ -28,6 +28,7 @@
 #include "target.h"
 #include "debug.h"
 #include "cfg80211.h"
+#include "trace.h"
 
 struct ath6kl_sdio {
        struct sdio_func *func;
@@ -179,6 +180,8 @@ static int ath6kl_sdio_io(struct sdio_func *func, u32 request, u32 addr,
                   request & HIF_FIXED_ADDRESS ? " (fixed)" : "", buf, len);
        ath6kl_dbg_dump(ATH6KL_DBG_SDIO_DUMP, NULL, "sdio ", buf, len);
 
+       trace_ath6kl_sdio(addr, request, buf, len);
+
        return ret;
 }
 
@@ -309,6 +312,13 @@ static int ath6kl_sdio_scat_rw(struct ath6kl_sdio *ar_sdio,
        sdio_claim_host(ar_sdio->func);
 
        mmc_set_data_timeout(&data, ar_sdio->func->card);
+
+       trace_ath6kl_sdio_scat(scat_req->addr,
+                              scat_req->req,
+                              scat_req->len,
+                              scat_req->scat_entries,
+                              scat_req->scat_list);
+
        /* synchronous call to process request */
        mmc_wait_for_req(ar_sdio->func->card->host, &mmc_req);