The 'dmic-delay' property name is different with the dt-binding.
So correct it with 'dmic-wakeup-delay-ms'.
Fixes: 3a6f9dce6116 (ASoC: rk3399_gru_sound: fix recording pop at first attempt)
Signed-off-by: Jeffy Chen
---
Changes in v6: None
Changes in v5:
Keep the dmic
:
Let rockchip,codec-names be a required property, because we plan to
add more supported codecs to the fixed dai link list in the driver.
Jeffy Chen (8):
ASoC: rockchip: Correct 'dmic-delay' property name
ASoC: rockchip: Use codec of_node and dai_name for rt5514 dsp
arm64: dts: roc
Currently we are using codec name for rt5514 dsp dai link, use codec
of_node instead.
Signed-off-by: Jeffy Chen
---
Changes in v6: None
Changes in v5: None
Changes in v3: None
Changes in v2: None
sound/soc/rockchip/rk3399_gru_sound.c | 34 ++
1 file changed, 2
Add rt5514 dsp of_node to codec list for Gru boards.
Signed-off-by: Jeffy Chen
---
Changes in v6: None
Changes in v5: None
Changes in v3: None
Changes in v2: None
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot
Currently the rt5514 i2c driver and rt5514 spi driver are using the same
compatible string.
Add additional unused compatible strings to identify them for Gru
boards.
Signed-off-by: Jeffy Chen
---
Changes in v6: None
Changes in v5: None
Changes in v3: None
Changes in v2: None
arch/arm64/boot
Add support for optional cdn dp codec.
Signed-off-by: Jeffy Chen
---
Changes in v6: None
Changes in v5: None
Changes in v3: None
Changes in v2: None
sound/soc/rockchip/Kconfig| 1 +
sound/soc/rockchip/rk3399_gru_sound.c | 59 +--
2 files changed
Refactor rockchip_sound_probe, parse dai links from dts instead of
hard coding them.
Signed-off-by: Jeffy Chen
Reviewed-by: Matthias Kaehlcke
Tested-by: Matthias Kaehlcke
---
Changes in v6: None
Changes in v5: None
Changes in v3:
Use compatible to match audio codecs
-- Suggested-by
Add support for optional dmic codec.
Signed-off-by: Jeffy Chen
---
Changes in v6:
Add dmic wakeup delay(not used for now).
Changes in v5: None
Changes in v3: None
Changes in v2: None
sound/soc/rockchip/Kconfig| 1 +
sound/soc/rockchip/rk3399_gru_sound.c | 36
Update description for newly added optional audio codecs.
Signed-off-by: Jeffy Chen
Acked-by: Rob Herring
---
Changes in v6: None
Changes in v5: None
Changes in v3: None
Changes in v2: None
Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt | 2 +-
1 file changed, 1
The dai driver's name is allowed to be NULL. So add a sanity check for
that.
Signed-off-by: Jeffy Chen
Reported-by: Donglin Peng
---
Changes in v2:
Keep the oringinal check style.
sound/soc/soc-core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/soc/soc-c
The dai driver's name is allowed to be NULL. So add a sanity check for
that.
Signed-off-by: Jeffy Chen
Reported-by: Donglin Peng
---
Changes in v3:
Fix typo
Changes in v2:
Keep the oringinal check style.
sound/soc/soc-core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Add rt5514 dsp of_node to codec list for Gru boards.
Signed-off-by: Jeffy Chen
---
Changes in v7: None
Changes in v6: None
Changes in v3: None
Changes in v2: None
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot
Currently the rt5514 i2c driver and rt5514 spi driver are using the same
compatible string.
Add additional unused compatible strings to identify them for Gru
boards.
Signed-off-by: Jeffy Chen
---
Changes in v7: None
Changes in v6: None
Changes in v3: None
Changes in v2: None
arch/arm64/boot
Currently we are using codec name for rt5514 dsp dai link, use codec
of_node instead.
Signed-off-by: Jeffy Chen
---
Changes in v7:
Rebase on the newest for-next
Changes in v6: None
Changes in v3: None
Changes in v2: None
sound/soc/rockchip/rk3399_gru_sound.c | 34
supported codecs to the fixed dai link list in the driver.
Jeffy Chen (7):
ASoC: rockchip: Use codec of_node and dai_name for rt5514 dsp
arm64: dts: rockchip: Add rt5514 dsp for Gru
arm64: dts: rockchip: Update rt5514 devices' compatible for Gru
ASoC: rockchip: Parse dai links fro
Add support for optional dmic codec.
Signed-off-by: Jeffy Chen
---
Changes in v7: None
Changes in v6:
Add dmic wakeup delay(not used for now).
Changes in v3: None
Changes in v2: None
sound/soc/rockchip/Kconfig| 1 +
sound/soc/rockchip/rk3399_gru_sound.c | 36
Update description for newly added optional audio codecs.
Signed-off-by: Jeffy Chen
Acked-by: Rob Herring
---
Changes in v7: None
Changes in v6: None
Changes in v3: None
Changes in v2: None
Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt | 2 +-
1 file changed, 1
Refactor rockchip_sound_probe, parse dai links from dts instead of
hard coding them.
Signed-off-by: Jeffy Chen
Reviewed-by: Matthias Kaehlcke
Tested-by: Matthias Kaehlcke
---
Changes in v7: None
Changes in v6: None
Changes in v3:
Use compatible to match audio codecs
-- Suggested-by
Add support for optional cdn dp codec.
Signed-off-by: Jeffy Chen
---
Changes in v7: None
Changes in v6: None
Changes in v3: None
Changes in v2: None
sound/soc/rockchip/Kconfig| 1 +
sound/soc/rockchip/rk3399_gru_sound.c | 59 +--
2 files changed
Add devicetree binding support for rt5514 spi dsp codec.
Also update rt5514 i2c dt-binding's compatible to distinguish it from
rt5514 spi.
Signed-off-by: Jeffy Chen
---
Changes in v10:
Put rt5514-i2c doc & rt5514-spi doc together.
Changes in v9:
Address comments from Brian.
Docu
Add dapm route for DMIC codec.
Signed-off-by: Jeffy Chen
---
Changes in v2: None
sound/soc/rockchip/rk3399_gru_sound.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/rockchip/rk3399_gru_sound.c
b/sound/soc/rockchip/rk3399_gru_sound.c
index b050510be65f..ad19e391c4a6 100644
Add dapm route for DP codec.
Signed-off-by: Jeffy Chen
---
Changes in v2:
Separate HDMI/DMIC patches.
sound/soc/rockchip/rk3399_gru_sound.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/rockchip/rk3399_gru_sound.c
b/sound/soc/rockchip/rk3399_gru_sound.c
index 0513fe480353
Currently we are using a fixed list of dapm routes.
Init dapm routes dynamically when parsing dailinks, since we are
supporting optional codecs.
Signed-off-by: Jeffy Chen
Reviewed-by: Matthias Kaehlcke
Tested-by: Matthias Kaehlcke
---
Changes in v2:
Fix DMic typo.
sound/soc/rockchip
Add devicetree binding support for rt5514 spi dsp codec.
Signed-off-by: Jeffy Chen
---
Changes in v11:
Use same compatible for rt5514-i2c & rt5514-spi.
Changes in v10:
Put rt5514-i2c doc & rt5514-spi doc together.
Changes in v9:
Address comments from Brian.
Documentation/devicetree/
Currently rt5514 dsp and rt5514 codec are sharing the same compatible.
Use bus_type to distinguish rt5514 dsp from rt5514 codec.
Signed-off-by: Jeffy Chen
---
Changes in v11: None
Changes in v10: None
Changes in v9: None
sound/soc/rockchip/rk3399_gru_sound.c | 57
Add dapm route for DP codec.
Signed-off-by: Jeffy Chen
---
Changes in v2:
Separate HDMI/DMIC patches.
sound/soc/rockchip/rk3399_gru_sound.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/rockchip/rk3399_gru_sound.c
b/sound/soc/rockchip/rk3399_gru_sound.c
index 0513fe480353
Add dapm route for DMIC codec.
Signed-off-by: Jeffy Chen
---
Changes in v2: None
sound/soc/rockchip/rk3399_gru_sound.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/rockchip/rk3399_gru_sound.c
b/sound/soc/rockchip/rk3399_gru_sound.c
index b050510be65f..ad19e391c4a6 100644
Currently we are using a fixed list of dapm routes.
Init dapm routes dynamically when parsing dailinks, since we are
supporting optional codecs.
Signed-off-by: Jeffy Chen
Reviewed-by: Matthias Kaehlcke
Tested-by: Matthias Kaehlcke
---
Changes in v2:
Fix DMic typo.
sound/soc/rockchip
Add devicetree binding support for rt5514 spi dsp codec.
Signed-off-by: Jeffy Chen
---
Changes in v12: None
Changes in v11:
Use same compatible for rt5514-i2c & rt5514-spi.
Changes in v10:
Put rt5514-i2c doc & rt5514-spi doc together.
Changes in v9:
Address comments fr
Currently rt5514 dsp and rt5514 codec are sharing the same compatible.
Use bus_type to distinguish rt5514 dsp from rt5514 codec.
Signed-off-by: Jeffy Chen
Reviewed-by: Matthias Kaehlcke
Tested-by: Matthias Kaehlcke
---
Changes in v12:
Fix device leak.
Changes in v11: None
Changes in v10
Add dapm route for DP codec.
Signed-off-by: Jeffy Chen
---
Changes in v3:
Rebase onto for-next 20170919
Changes in v2:
Separate HDMI/DMIC patches.
sound/soc/rockchip/rk3399_gru_sound.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/rockchip/rk3399_gru_sound.c
b/sound/soc
Add dapm route for DMIC codec.
Signed-off-by: Jeffy Chen
---
Changes in v3: None
Changes in v2: None
sound/soc/rockchip/rk3399_gru_sound.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/rockchip/rk3399_gru_sound.c
b/sound/soc/rockchip/rk3399_gru_sound.c
index b050510be65f
to add route Int Mic -> direct
-> DMIC1R
And support detect rt5514-dsp codec and rt5514 codec by checking bus_type.
Changes in v3:
Rebase onto for-next 20170919
Changes in v2:
Separate HDMI/DMIC patches.
Fix DMic typo.
Jeffy Chen (5):
ASoC: rockchip: Add dapm route for HDMI
ASoC: rockch
Currently we are using a fixed list of dapm routes.
Init dapm routes dynamically when parsing dailinks, since we are
supporting optional codecs.
Signed-off-by: Jeffy Chen
Reviewed-by: Matthias Kaehlcke
Tested-by: Matthias Kaehlcke
---
Changes in v3: None
Changes in v2:
Fix DMic typo.
sound
Add devicetree binding support for rt5514 spi dsp codec.
Signed-off-by: Jeffy Chen
---
Changes in v3: None
Changes in v2: None
Documentation/devicetree/bindings/sound/rt5514.txt | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings
Currently rt5514 dsp and rt5514 codec are sharing the same compatible.
Use bus_type to distinguish rt5514 dsp from rt5514 codec.
Signed-off-by: Jeffy Chen
Reviewed-by: Matthias Kaehlcke
Tested-by: Matthias Kaehlcke
---
Changes in v3: None
Changes in v2: None
sound/soc/rockchip
Add support for PCIE_WAKE pin in rockchip pcie driver.
Signed-off-by: Jeffy Chen
---
Changes in v5:
Rebase
Changes in v3:
Fix error handling
Changes in v2:
Use dev_pm_set_dedicated_wake_irq
-- Suggested by Brian Norris
drivers/pci/host/pcie-rockchip.c | 19 +--
1
Add an optional interrupt for PCIE_WAKE pin.
Signed-off-by: Jeffy Chen
---
Changes in v5:
Move to pci.txt
Changes in v3: None
Changes in v2: None
Documentation/devicetree/bindings/pci/pci.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/pci/pci.txt
Currently we are handling pcie wake irq in mrvl wifi driver.
Move it to rockchip pcie driver for Gru boards.
Signed-off-by: Jeffy Chen
---
Changes in v5:
Use "wakeup" instead of "wake"
Changes in v3: None
Changes in v2: None
arch/arm64/boot/dts/rockchip/
handling
Changes in v2:
Use dev_pm_set_dedicated_wake_irq
-- Suggested by Brian Norris
Jeffy Chen (3):
PCI: rockchip: Add support for pcie wake irq
dt-bindings: PCI: Add definition of pcie wake irq
arm64: dts: rockchip: Handle pcie wake in pcie driver for Gru
Documentation/dev
Currently we are using edev->dev drvdata to get rk3399-dmc data, but
it would be inited to edev in devfreq_event_add_edev.
So we need to clear the edev->dev drvdata before enabling dfi, to
prevent dfi from getting the wrong rk3399-dmc data when the irq
triggered too early.
Signed-off-by:
Currently we are using a fixed list of dapm routes.
Init dapm routes dynamically when parsing dailinks, since we are
supporting optional codecs.
Signed-off-by: Jeffy Chen
---
sound/soc/rockchip/rk3399_gru_sound.c | 88 +--
1 file changed, 74 insertions(+), 14
Currently the rt5514 i2c driver and rt5514 spi driver are using the same
compatible string.
Add additional unused compatible strings to identify them for Gru
boards.
Signed-off-by: Jeffy Chen
---
Changes in v8:
Add new compatible to rt5514 dt doc.
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
Add devicetree bindings documentation file for rt5514 spi dsp codec.
Also update rt5514 i2c dt-binding's compatible.
Signed-off-by: Jeffy Chen
---
Changes in v8: None
.../devicetree/bindings/sound/rt5514-spi.txt | 32 ++
Documentation/devicetree/bindings/
Add devicetree bindings documentation file for rt5514 spi dsp codec.
Also update rt5514 i2c dt-binding's compatible to distinguish it from
rt5514 spi.
Signed-off-by: Jeffy Chen
---
Changes in v9:
Address comments from Brian.
.../devicetree/bindings/sound/rt5514-spi.txt
Currently the rt5514 i2c driver and rt5514 spi driver are using the same
compatible string.
Add additional compatible strings to identify them for Gru boards.
Signed-off-by: Jeffy Chen
---
Changes in v9: None
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 4 ++--
1 file changed, 2 insertions
Add devicetree bindings documentation file for rt5514 spi dsp codec.
Also update rt5514 i2c dt-binding's compatible to distinguish it from
rt5514 spi.
Signed-off-by: Jeffy Chen
---
Changes in v9:
Address comments from Brian.
.../devicetree/bindings/sound/rt5514-spi.txt
According to rt5514 dt-binding, it should be "realtek,dmic-init-delay-ms".
Fixes: 48f4d9796d99 (arm64: dts: rockchip: add Gru/Kevin DTS)
Signed-off-by: Jeffy Chen
---
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/
e.
Fixes: d503187b6cc4 (of/serial: move earlycon early_param handling to serial)
Signed-off-by: Jeffy Chen
---
drivers/tty/serial/earlycon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/earlycon.c b/drivers/tty/serial/earlycon.c
index c3651540e1ba..3359
inactive PHY(s)
Changes in v3:
Fix error handling
Changes in v2:
Use dev_pm_set_dedicated_wake_irq
-- Suggested by Brian Norris
Jeffy Chen (4):
PCI: rockchip: Fix error handlings
PCI: rockchip: Add support for pcie wake irq
dt-bindings: PCI: rockchip: Add support for pcie wake irq
Add support for PCIE_WAKE pin in rockchip pcie driver.
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3:
Fix error handling
Changes in v2:
Use dev_pm_set_dedicated_wake_irq
-- Suggested by Brian Norris
drivers/pci/host/pcie-rockchip.c | 21 +++--
1
Add an optional interrupt for PCIE_WAKE pin.
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
.../devicetree/bindings/pci/rockchip-pcie.txt| 20
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/Documentation
Fix error handlings in probe & resume.
Signed-off-by: Jeffy Chen
---
Changes in v4:
Rebase on newest for-next branch, also fix error handling by:
1e7f570a1b86 PCI: rockchip: Idle inactive PHY(s)
Changes in v3: None
Changes in v2: None
drivers/pci/host/pcie-rockchip.c |
Currently we are handling pcie wake irq in mrvl wifi driver.
Move it to rockchip pcie driver for Gru boards.
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 15 +--
1 file changed, 9
This patch removes the build dependency on ARM, so we can build on arm64
as well.
Signed-off-by: Jeffy Chen
---
drivers/iommu/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 6ee3a25..cb26f45 100644
--- a/drivers/iommu/Kconfig
+0x54/0x64
[ 37.312138] [] devm_irq_release+0x24/0x30
Add an irq_shutdown callback, and do a sanity check for irq state to
prevent that.
Signed-off-by: Jeffy Chen
---
drivers/pinctrl/pinctrl-rockchip.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-rockchip.c
The cros_ec requires CS line to be active after last message. But the CS
would be toggled when powering off/on rockchip spi, which breaks ec xfer.
Keep spi alive after CS asserted to prevent that.
Suggested-by: Doug Anderson
Signed-off-by: Jeffy Chen
---
drivers/spi/spi-rockchip.c | 22
Check irq state in enable/disable/unmask/mask_irq to avoid unnecessary
low level irq function calls.
Suggested-by: Thomas Gleixner
Signed-off-by: Jeffy Chen
---
kernel/irq/chip.c | 55 +++
1 file changed, 35 insertions(+), 20 deletions
We are setting irq default state to disabled when allocating irq desc,
so set it masked there too.
Signed-off-by: Jeffy Chen
---
Changes in v2: None
kernel/irq/irqdesc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
index c5bbaed..f1248ee
Check irq state in enable/disable/unmask/mask_irq to avoid unnecessary
low level irq function calls.
Suggested-by: Thomas Gleixner
Signed-off-by: Jeffy Chen
---
Changes in v2:
Remove unnecessary started state check.
kernel/irq/chip.c | 53
The system would crash when trying to alloc zero sized gem buffer:
[6.712435] Unable to handle kernel NULL pointer dereference at virtual
address 0010 <--ZERO_SIZE_PTR
...
[6.757502] PC is at sg_alloc_table_from_pages+0x170/0x1ec
Signed-off-by: Jeffy Chen
---
drivers/gpu/
Signed-off-by: Jeffy Chen
---
drivers/mfd/cros_ec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c
index e31ac60..dc6ce90 100644
--- a/drivers/mfd/cros_ec.c
+++ b/drivers/mfd/cros_ec.c
@@ -183,6 +183,9 @@ int cros_ec_remove(struct
Support using "cs-gpios" property to specify cs gpios.
Signed-off-by: Jeffy Chen
---
.../devicetree/bindings/spi/spi-rockchip.txt | 2 +
drivers/spi/spi-rockchip.c | 52 ++
2 files changed, 54 insertions(+)
diff --git a/Doc
The cros_ec requires CS line to be active after last message. But the CS
would be toggled when powering off/on rockchip spi, which breaks ec xfer.
Use GPIO CS to prevent that.
Signed-off-by: Jeffy Chen
---
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 6 ++
1 file changed, 6 insertions
64: error -16
[ 2683.338610] cros-ec-spi spi5.0: cannot register EC
[ 2683.338656] cros-ec-spi: probe of spi5.0 failed with error -16
Signed-off-by: Jeffy Chen
---
Changes in v2:
Improve the commit message.
drivers/mfd/cros_ec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers
After failed to request dma tx chain, we need to disable pm_runtime.
Also cleanup error labels for better readability.
Signed-off-by: Jeffy Chen
---
Changes in v2: None
drivers/spi/spi-rockchip.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a
Update document devicetree bindings to support "cs-gpios" property.
Signed-off-by: Jeffy Chen
---
Changes in v2: None
Documentation/devicetree/bindings/spi/spi-rockchip.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-rockc
Support using "cs-gpios" property to specify cs gpios.
Signed-off-by: Jeffy Chen
1/ request cs gpios in probe for better error handling
2/ use gpiod* function
(suggested by Heiko Stuebner)
3/ split dt-binding changes to new patch
(suggested by Shawn Lin & Heiko Stuebner)
---
The cros_ec requires CS line to be active after last message. But the CS
would be toggled when powering off/on rockchip spi, which breaks ec xfer.
Use GPIO CS to prevent that.
Signed-off-by: Jeffy Chen
---
Changes in v2:
Fix wrong pinconf for spi5_cs0.
arch/arm64/boot/dts/rockchip/rk3399
Support using "cs-gpios" property to specify cs gpios.
Signed-off-by: Jeffy Chen
---
Changes in v3:
include linux/gpio/consumer.h for compile errors on ARCH_X86
(reported by kbuild test robot )
Changes in v2:
1/ request cs gpios in probe for better error handling
2/ use gpiod
The cros_ec requires CS line to be active after last message. But the CS
would be toggled when powering off/on rockchip spi, which breaks ec xfer.
Use GPIO CS to prevent that.
Signed-off-by: Jeffy Chen
---
Changes in v3: None
Changes in v2:
Fix wrong pinconf for spi5_cs0.
arch/arm64/boot/dts
Update document devicetree bindings to support "cs-gpios" property.
Signed-off-by: Jeffy Chen
---
Changes in v3: None
Changes in v2: None
Documentation/devicetree/bindings/spi/spi-rockchip.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindin
Remove unused check and variables after:
drm/rockchip: Set line flag config register in vop_crtc_enable
Signed-off-by: Jeffy Chen
---
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/rockchip
We added some in/out ops(eg. REQ_OP_SCSI_IN/OUT), but currently the
op_is_sync() is only checking REQ_OP_READ.
So treat all read ops as synchronous.
Fixes: aebf526b53ae ("block: fold cmd_type into the REQ_OP_ space")
Signed-off-by: Jeffy Chen
---
include/linux/blk_types.h | 3 +
x1bc/0x444
[] elv_set_request+0x88/0x9c
[] get_request+0x494/0x914
[] blk_get_request+0xdc/0x160
[] scsi_execute+0x70/0x23c
[] scsi_test_unit_ready+0xf4/0x1ec
Signed-off-by: Jeffy Chen
---
block/cfq-iosched.c | 28 ++--
1 file changed, 18 insertions(+), 10
Free the drm_atomic_state allocated by drm_atomic_helper_suspend().
Fixes: 5a5873830972 ("drm/rockchip: Use atomic PM helpers")
Signed-off-by: Jeffy Chen
---
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/dr
Free domain->name when IRQ_DOMAIN_NAME_ALLOCATED been set.
Fixes: d59f6617eef0 ("genirq: Allow fwnode to carry name information only")
Signed-off-by: Jeffy Chen
---
kernel/irq/generic-chip.c | 4
1 file changed, 4 insertions(+)
diff --git a/kernel/irq/generic-chip.c b/kerne
Fix memory leak of cipher_api.
Fixes: 33d2f09fcb35 (dm crypt: introduce new format of cipher with "capi:"
prefix)
Signed-off-by: Jeffy Chen
---
drivers/md/dm-crypt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c
index a5
fwnode to carry name information only")
Signed-off-by: Jeffy Chen
---
Changes in v2:
Don't replace domain's name instead of trying to free the old name.
kernel/irq/generic-chip.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip
The allocation size of dapm routes is wrong, correct it.
Fixes: d9f9c167edae ("ASoC: rockchip: Init dapm routes dynamically")
Signed-off-by: Jeffy Chen
---
sound/soc/rockchip/rk3399_gru_sound.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sound/so
andle unresponsive or hoptlug
removed hosts")
Signed-off-by: Jeffy Chen
---
drivers/usb/host/xhci-ring.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index a9443651ce0f..69ac3deffb7b 100644
--- a/drivers/usb/host/xhci-ri
Add missing kfree of allocated cros_ec_command.
Fixes: ff00af859354 ("platform/chrome: cros_ec: Add sysfs entry to set keyboard
wake lid angle")
Signed-off-by: Jeffy Chen
---
drivers/platform/chrome/cros_ec_sysfs.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletion
current_cmd in xhci_cleanup_command_queue() to avoid that.
Fixes: d9f11ba9f107 ("xhci: Rework how we handle unresponsive or hoptlug
removed hosts")
Signed-off-by: Jeffy Chen
---
Changes in v2:
We cannot cancel cmd_timer in xhci_hc_died(), which would cause
might_sleep warning.
drivers/usb
Remove the kref_get() in uvc_register_video(), which is not needed as
the kref_init() already initializes refcount to 1 for us.
Fixes: 9d15cd958c17 ("media: uvcvideo: Convert from using an atomic variable to
a reference count")
Signed-off-by: Jeffy Chen
---
Changes in v2:
Rewr
The comment for op_is_sync() says "Reads are always treated as
synchronous", but it only checks for REQ_OP_READ.
Use op_is_write() to detect read ops and treat them as synchronous.
Fixes: aebf526b53ae ("block: fold cmd_type into the REQ_OP_ space")
Signed-off-by: Jeffy Chen
x1bc/0x444
[] elv_set_request+0x88/0x9c
[] get_request+0x494/0x914
[] blk_get_request+0xdc/0x160
[] scsi_execute+0x70/0x23c
[] scsi_test_unit_ready+0xf4/0x1ec
Fixes: 60a837077e2b ("cfq-iosched: charge async IOs to the appropriate blkcg's
instead of the root")
Add edp panel and enable related nodes on kevin.
Signed-off-by: Jeffy Chen
---
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 +++
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 16 +
2 files changed, 45 insertions(+)
diff --git a/arch/arm64/boot
Currently we are suspending the spi master in it's ->suspend callback,
which is racy as some other drivers may still want to transmit messages
on the bus(e.g. spi based pwm backlight).
Convert to late and early system PM callbacks to avoid the race.
Signed-off-by: Jeffy Chen
---
dri
Currently we are suspending the spi master in it's ->suspend callback,
which is racy as some other drivers may still want to transmit messages
on the bus(e.g. spi based pwm backlight).
Convert to late and early system PM callbacks to avoid the race.
Signed-off-by: Jeffy Chen
---
dri
Make edp display works on chromebook kevin.
Jeffy Chen (2):
spi: rockchip: Convert to late and early system PM callbacks
arm64: dts: rockchip: Enable edp disaplay on kevin
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 +++
arch/arm64/boot/dts/rockchip/rk3399
Add edp panel and enable related nodes on kevin.
Signed-off-by: Jeffy Chen
---
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 +++
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 16 +
2 files changed, 45 insertions(+)
diff --git a/arch/arm64/boot
Use "wakeup" instead of "wake"
Changes in v3:
Fix error handling
Changes in v2:
Use dev_pm_set_dedicated_wake_irq
-- Suggested by Brian Norris
Jeffy Chen (3):
PCI: rockchip: Add support for pcie wake irq
dt-bindings: PCI: Add definition of pcie wake irq
arm64: d
Add support for PCIE_WAKE pin in rockchip pcie driver.
Signed-off-by: Jeffy Chen
---
Changes in v6:
Fix device_init_wake error handling, and add some comments.
Changes in v5:
Rebase
Changes in v3:
Fix error handling
Changes in v2:
Use dev_pm_set_dedicated_wake_irq
-- Suggested by
Currently we are handling pcie wake irq in mrvl wifi driver.
Move it to rockchip pcie driver for Gru boards.
Signed-off-by: Jeffy Chen
---
Changes in v6: None
Changes in v5:
Use "wakeup" instead of "wake"
Changes in v3: None
Changes in v2: None
arch/arm64/boot/dts/rock
Add an optional interrupt for PCIE_WAKE pin.
Signed-off-by: Jeffy Chen
---
Changes in v6: None
Changes in v5:
Move to pci.txt
Changes in v3: None
Changes in v2: None
Documentation/devicetree/bindings/pci/pci.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree
The refcount would be inited to 1 in kref_init(), so we don't need to
increase it at the end of uvc_probe().
Fixes: 9d15cd958c17 ("media: uvcvideo: Convert from using an atomic variable to
a reference count")
Signed-off-by: Jeffy Chen
---
drivers/media/usb/uvc/uvc_driver.
The refcount would be inited to 1 in kref_init(), so we don't need to
increase it at the end of uvc_register_video().
Fixes: 9d15cd958c17 ("media: uvcvideo: Convert from using an atomic variable to
a reference count")
Signed-off-by: Jeffy Chen
---
drivers/media/usb/uvc/uvc_dr
0x28/0x158
[] drm_atomic_helper_suspend+0x5c/0xf0
Problem here is that we are duplicating the drm_atomic_state in
drm_atomic_helper_suspend(), but not unreference it in the resume path.
Fixes: 1494276000db ("drm/atomic-helper: Implement subsystem-level
suspend/resume")
Signed-off-by: Jeffy Chen
6242] task: ffc0f28bab80 task.stack: ffc0f1b3
[ 123.536247] PC is at sysfs_warn_dup+0x68/0x84
[ 123.536251] LR is at sysfs_warn_dup+0x68/0x84
Signed-off-by: Jeffy Chen
---
drivers/platform/chrome/cros_ec_dev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/driver
I saw unpaired spi clock disable warnings when suspend/unbind spi device.
Fix them follow spi-s3c64xx.c.
Jeffy Chen (3):
spi: rockchip: Slightly rework return value handling
spi: rockchip: Fix clock handling in remove
spi: rockchip: Fix clock handling in suspend/resume
drivers/spi/spi
501 - 600 of 617 matches
Mail list logo