]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb1c5f3085149e9643b125eb10aae0e74644d7dcc
treec1a7125024781df70f850170cbf0f8d7eb4070cd
parent35a7609639c49f76f13f206402cbf692c4ae3e4e
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