linux/drivers
Can Guo 3b80f9485d BACKPORT: scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
Remove the param skip_ref_clk from __ufshcd_setup_clocks(), but keep a flag
in struct ufs_clk_info to tell whether a clock can be disabled or not while
the link is active.

Bug: 188004633
Change-Id: I7b0e48923a6e24edf23dd674061caee55ca4df67
(cherry picked from commit 81309c247a)
[Stanley: Resolved minor conflict in drivers/scsi/ufs/ufshcd.c]
Link: https://lore.kernel.org/r/1606356063-38380-2-git-send-email-cang@codeaurora.org
Reviewed-by: Hongwu Su <hongwus@codeaurora.org>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
2021-05-14 03:14:50 +00:00
..
accessibility
acpi Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
amba Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
android ANDROID: vendor_hooks: Add hooks to dup_task_struct 2021-05-13 16:47:48 +00:00
ata ata: ahci: Disable SXS for Hisilicon Kunpeng920 2021-05-11 14:47:26 +02:00
atm atm: idt77252: fix null-ptr-dereference 2021-03-30 14:31:50 +02:00
auxdisplay auxdisplay: ht16k33: Fix refresh rate handling 2021-03-04 11:38:00 +01:00
base ANDROID: topology: Add flag to indicate topology has been updated 2021-05-11 22:55:07 +00:00
bcma
block Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
bluetooth Merge 5.10.23 into android12-5.10 2021-03-11 19:36:03 +01:00
bus bus: mhi: core: Clear context for stopped channels from remove() 2021-05-11 14:47:19 +02:00
cdrom
char Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
clk Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
clocksource ANDROID: GKI: enable CONFIG_MTK_TIMER 2021-05-05 12:14:32 +00:00
connector
counter counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register 2021-03-25 09:04:16 +01:00
cpufreq Merge 5.10.27 into android12-5.10 2021-04-02 15:25:50 +02:00
cpuidle Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
crypto Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
dax device-dax: Fix default return code of range_parse() 2021-03-04 11:38:15 +01:00
dca
devfreq
dio
dma Merge 5.10.33 into android12-5.10 2021-04-29 13:57:47 +02:00
dma-buf ANDROID: dma-buf: Make DMA-BUF sysfs stats kobjects not send uevents 2021-04-29 22:11:05 +00:00
edac EDAC/amd64: Do not load on family 0x15, model 0x13 2021-03-07 12:34:08 +01:00
eisa
extcon extcon: arizona: Fix various races on driver unbind 2021-05-11 14:47:24 +02:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 15:00:11 +02:00
firmware Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
fpga fpga: dfl: pci: add DID for D5005 PAC cards 2021-05-11 14:47:19 +02:00
fsi
gnss
gpio Merge 5.10.33 into android12-5.10 2021-04-29 13:57:47 +02:00
gpu Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
greybus
hid Merge 5.10.33 into android12-5.10 2021-04-29 13:57:47 +02:00
hsi HSI: Fix PM usage counter unbalance in ssi_hw_init 2021-03-04 11:37:52 +01:00
hv Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind() 2021-03-04 11:37:46 +01:00
hwmon FROMLIST: hwmon: (scmi) port driver to the new scmi_sensor_proto_ops interface 2021-03-02 17:34:33 -08:00
hwspinlock
hwtracing Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
i2c ANDROID: i2c: Add vendor hook to allow assign dev_name to I2C devices 2021-05-07 07:13:22 -07:00
i3c i3c master: fix missing destroy_workqueue() on error in i3c_master_register 2021-01-06 14:56:53 +01:00
ide ide/falconide: Fix module unload 2021-03-04 11:38:21 +01:00
idle
iio iio: hid-sensor-temperature: Fix issues of timestamp channel 2021-03-25 09:04:16 +01:00
infiniband RDMA/addr: Be strict with gid size 2021-04-14 08:42:12 +02:00
input Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
interconnect interconnect: core: fix error return code of icc_link_destroy() 2021-04-16 11:43:19 +02:00
iommu ANDROID: iommu/io-pgtable-arm: Free underlying page tables for large mappings 2021-05-13 12:08:37 +00:00
ipack
irqchip Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
isdn mISDN: fix crash in fritzpci 2021-04-10 13:36:08 +02:00
leds leds: trigger: fix potential deadlock with libata 2021-02-03 23:28:41 +01:00
lightnvm lightnvm: fix memory leak when submit fails 2021-01-27 11:55:22 +01:00
macintosh macintosh/adb-iop: Use big-endian autopoll mask 2021-03-04 11:37:42 +01:00
mailbox mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL 2021-03-04 11:38:15 +01:00
mcb
md Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
media Revert "media: v4l2-ctrls: fix reference to freed memory" 2021-05-13 14:22:12 +02:00
memory UPSTREAM: memory: mtk-smi: Allow building as module 2021-03-24 12:45:16 -07:00
memstick
message
mfd mfd: arizona: Fix rumtime PM imbalance on error 2021-05-11 14:47:31 +02:00
misc Merge 5.10.34 into android12-5.10 2021-05-03 10:27:39 +02:00
mmc Revert "mmc: block: Issue a cache flush only when it's enabled" 2021-05-13 14:22:12 +02:00
most
mtd mtd: physmap: physmap-bt1-rom: Fix unintentional stack access 2021-05-11 14:47:13 +02:00
mux
net Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
nfc nfc: s3fwrn5: Release the nfc firmware 2020-12-30 11:53:53 +01:00
ntb
nubus
nvdimm libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC 2021-04-21 13:00:55 +02:00
nvme Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
nvmem nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer 2021-03-04 11:38:39 +01:00
of Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
opp Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
oprofile
parisc
parport
pci Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
pcmcia
perf perf/arm_pmu_platform: Fix error handling 2021-05-11 14:47:19 +02:00
phy phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove() 2021-05-11 14:47:21 +02:00
pinctrl Merge 5.10.33 into android12-5.10 2021-04-29 13:57:47 +02:00
platform Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
pnp
power Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
powercap UPSTREAM: powercap/drivers/dtpm: Add the experimental label to the option description 2021-03-22 15:24:47 +00:00
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-30 11:53:53 +01:00
ptp ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation 2021-04-10 13:36:09 +02:00
pwm Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
rapidio
ras RAS/CEC: Correct ce_add_elem()'s returned values 2021-04-14 08:42:12 +02:00
regulator Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
remoteproc BACKPORT: FROMGIT: remoteproc: add is_iomem to da_to_va 2021-05-07 07:12:41 -07:00
reset FROMLIST: reset: reset-scmi: port driver to the new scmi_reset_proto_ops interface 2021-03-02 17:34:33 -08:00
rpmsg
rtc Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
s390 Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
sbus
scsi BACKPORT: scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk 2021-05-14 03:14:50 +00:00
sfi
sh
siox
slimbus
soc Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
soundwire soundwire: cadence: only prepare attached devices on clock stop 2021-05-11 14:47:19 +02:00
spi Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
spmi spmi: spmi-pmic-arb: Fix hw_irq overflow 2021-03-04 11:38:40 +01:00
ssb
staging Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
target scsi: target: pscsi: Fix warning in pscsi_complete_cmd() 2021-05-11 14:47:23 +02:00
tc
tee tee: optee: do not check memref size on return from Secure World 2021-05-11 14:47:18 +02:00
thermal Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
thunderbolt thunderbolt: Fix off by one in tb_port_find_retimer() 2021-04-14 08:42:03 +02:00
tty Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
uio
usb FROMGIT: usb: typec: tcpm: Fix SINK_DISCOVERY current limit for Rp-default 2021-05-13 16:09:43 +00:00
vdpa vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails 2021-04-28 13:39:59 +02:00
vfio Merge 5.10.35 into android12-5.10 2021-05-08 12:45:00 +02:00
vhost vhost-vdpa: fix vm_flags for virtqueue doorbell mapping 2021-05-11 14:47:12 +02:00
video Merge 5.10.36 into android12-5.10 2021-05-13 14:22:11 +02:00
virt nitro_enclaves: Fix stale file descriptors on failed usercopy 2021-05-11 14:47:11 +02:00
virtio FROMGIT: mm, page_poison: remove CONFIG_PAGE_POISONING_NO_SANITY 2021-03-24 15:09:17 -07:00
visorbus
vlynq
vme
w1 w1: w1_therm: Fix conversion result for negative temperatures 2021-03-04 11:37:18 +01:00
watchdog Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
xen xen/events: fix setting irq affinity 2021-04-16 11:43:22 +02:00
zorro
Kconfig
Makefile
OWNERS ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS 2021-04-03 14:11:30 +00:00