]> git.baikalelectronics.ru Git - kernel.git/commit
misc: rtsx: add rts5261 efuse function
authorRicky WU <ricky_wu@realtek.com>
Mon, 21 Mar 2022 11:18:30 +0000 (11:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2022 13:37:36 +0000 (15:37 +0200)
commite7d1b8d6a61af767d8064a47a541c3f656abb759
treec1a7125024781df70f850170cbf0f8d7eb4070cd
parent2d6ebb3d267924c2c6604c2ab0a5018c9a0904e8
misc: rtsx: add rts5261 efuse function

move rts5261_fetch_vendor_settings() to rts5261_init_from_hw()
make sure it be called from S3 or D3

add more register setting when efuse is set
read efuse setting to register on init flow

Signed-off-by: Ricky Wu <Ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/18101ecb0f0749ccb9f564eda171ba40@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cardreader/rts5261.c
include/linux/rtsx_pci.h