bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA
authorColin Ian King <colin.king@canonical.com>
Tue, 27 Aug 2019 08:16:20 +0000 (09:16 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:44:02 +0000 (16:44 +0300)
commit420c20be08a4597404d272ae9793b642401146eb
tree35ed2a7fe182aeec9568b28d44eca54001522b5c
parent5f42b382ead278c1f6c3854765c97eb20491aa2a
bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA

An earlier commit re-worked the setting of the bitmask and is now
assigning v with some bit flags rather than bitwise or-ing them
into v, consequently the earlier bit-settings of v are being lost.
Fix this by replacing an assignment with the bitwise or instead.

Addresses-Coverity: ("Unused value")
Fixes: 2be25cac8402 ("bcma: add constants for PCI and use them")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/driver_pci.c