Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7149f891 authored by Can Guo's avatar Can Guo
Browse files

msm: ep-pcie: Give BAR0 and BAR2 the right size



dev->mmio_res_size is not initialized, so during D3_COLD -> D0 transition,
when the driver re-initializes the BAR registers, they are overwritten by
dev->mmio_res_size. Fix it by calculating the size of MMIO resource and
using the calculated size in ep_pcie_bar_init().

Change-Id: Ifad54ed1ffbcf205e89f9ab6d54e54350d5e7788
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 46bc219c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment