staging: mt7621-pci: disable pcie port clock if there is no pcie link
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 21 Jun 2019 06:15:14 +0000 (08:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2019 14:50:10 +0000 (16:50 +0200)
commit36e92f611e33d5e00849d175805fc6c6d4332c25
treec1bde8c7c18eace17a328830f2eaee4e319845cf
parentf5a3cb90b802da2dee8bc1dc39339b6521c33652
staging: mt7621-pci: disable pcie port clock if there is no pcie link

When there is no pcie link detected we have to properly disable the
port pcie clock.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c