mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
cnss2: Donot reserve TCS register space for WLAN
Since TCS resource is shared between BT and WLAN, remove reservation of TCS register space in cnss2. Change-Id: I38f40ccad491bdfcac814de13f3cc6099d91d032 Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
This commit is contained in:
parent
5b47848843
commit
5f9b42108a
1 changed files with 3 additions and 3 deletions
|
|
@ -907,9 +907,9 @@ int cnss_get_tcs_info(struct cnss_plat_data *plat_priv)
|
|||
cnss_pr_dbg("TCS CMD base address is %pa with length %pa\n",
|
||||
&plat_priv->tcs_info.cmd_base_addr, &addr_len);
|
||||
|
||||
tcs_cmd_base_addr = devm_ioremap_resource(&plat_dev->dev, res);
|
||||
if (IS_ERR(tcs_cmd_base_addr)) {
|
||||
ret = PTR_ERR(tcs_cmd_base_addr);
|
||||
tcs_cmd_base_addr = devm_ioremap(&plat_dev->dev, res->start, addr_len);
|
||||
if (!tcs_cmd_base_addr) {
|
||||
ret = -EINVAL;
|
||||
cnss_pr_err("Failed to map TCS CMD address, err = %d\n",
|
||||
ret);
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Reference in a new issue