summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2021-01-27 12:40:50 +0300
committerMark Brown <broonie@kernel.org>2021-01-27 15:37:30 +0300
commit6d2386e36440165da782dbc5c0de40f31665e108 (patch)
treedb6131aa8b01e0cd2d11a3881be50bdadccb0377 /drivers/usb/cdns3/cdns3-imx.c
parent6589daf8bb98c75ad1065edad87c099ffb9f5d87 (diff)
downloadlinux-6d2386e36440165da782dbc5c0de40f31665e108.tar.xz
spi: hisi-sfc-v3xx: add address mode check
The address mode is either 3 or 4 for the controller, which is configured by the firmware and cannot be modified in the OS driver. Get the firmware configuration and add address mode check in the .supports_op() to block invalid operations. Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Acked-by: John Garry <john.garry@huawei.com> Link: https://lore.kernel.org/r/1611740450-47975-3-git-send-email-yangyicong@hisilicon.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions