]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci-phy: add quirks for 'E2' revision using 'soc_device_attribute'
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 17 Apr 2019 11:58:37 +0000 (13:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Apr 2019 13:01:34 +0000 (15:01 +0200)
commit9445ccb3714c78c26a3a25fafed4d9d965080431
tree0a76cbd8a06e540c3be6910c8391d70f0f4dc125
parentd43f53c6cc926b18316a7e835348363e4a10b61e
staging: mt7621-pci-phy: add quirks for 'E2' revision using 'soc_device_attribute'

Depending on revision of the chip, 'mt7621_bypass_pipe_rst' function
must be executed. Add better support for this using 'soc_device_match'
in driver probe function.

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