diff options
| author | Arun Khandavalli <akhandav@codeaurora.org> | 2016-08-02 16:35:00 +0530 |
|---|---|---|
| committer | Arun Khandavalli <akhandav@codeaurora.org> | 2016-08-04 10:34:22 +0530 |
| commit | 75ea891eca545b07303b0b29a80dbe49cd2dc7f2 (patch) | |
| tree | 65b717af1166b5f626c6780d445b41b1a1d3b510 /qdf/linux/src/qdf_mc_timer.c | |
| parent | 3af34357417fc349c7c44ad0faf41cee0531a237 (diff) | |
qcacmn: Add bus_id memeber to qdf_device
With Load once unload never architecture, the cds modules
will be opened/closed several times. As part of configuration
of modules bus id needs to passed. So, add a new member to save
the bus_id passed by the platform driver during the driver
intialization,
Change-Id: Ic580e03076e5e8c557dde1879e223606a14f79b8
CRs-Fixed: 1049224
Diffstat (limited to 'qdf/linux/src/qdf_mc_timer.c')
| -rw-r--r-- | qdf/linux/src/qdf_mc_timer.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qdf/linux/src/qdf_mc_timer.c b/qdf/linux/src/qdf_mc_timer.c index 8d10d09ad327..80143ea5888d 100644 --- a/qdf/linux/src/qdf_mc_timer.c +++ b/qdf/linux/src/qdf_mc_timer.c @@ -687,3 +687,17 @@ unsigned long qdf_mc_timer_get_system_time(void) return tv.tv_sec * 1000 + tv.tv_usec / 1000; } EXPORT_SYMBOL(qdf_mc_timer_get_system_time); + +/** + * qdf_timer_module_deinit() - Deinitializes a QDF timer module. + * + * This API deinitializes the QDF timer module. + * Return: none + */ +void qdf_timer_module_deinit(void) +{ + QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO_HIGH, + "De-Initializing the QDF MC timer module"); + qdf_mutex_destroy(&persistent_timer_count_lock); +} +EXPORT_SYMBOL(qdf_timer_module_deinit); |
