Skip to content

ASoC/pdx86/input: Introduce and use soc_intel_is_*() helpers

Hans de Goede alsa-devel linux-input platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: Intel: Move soc_intel_is_foo() helpers to a generic headerinclude/linux/platform_data/x86/soc.h sound/soc/intel/common/soc-intel-quirks.h+68 -484 replies
2/3platform/x86: intel_int0002_vgpio: Use the new soc_intel_is_byt/cht helpersdrivers/platform/x86/intel/int0002_vgpio.c+2 -122 replies
3/3Input: axp20x-pek - Use new soc_intel_is_cht() helperdrivers/input/misc/axp20x-pek.c+5 -211 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoMark BrownDmitry Torokhov
SeriesR-b
1/3A-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] ASoC/pdx86/input: Introduce and use soc_intel_is_*() helpers

Hi All,

We have been open-coding x86_match_cpu() checks for enabling some SoC specific behavior in various places.

The sound/soc/intel drivers used to also open-code this but this was cleaned up a while ago introducing a number of soc_intel_is_*() helpers.

This series moves the definition of these helpers to a more public place and uses it in a couple of more places outside the sound tree.

Mark, I know we are a bit late in the cycle, but if you can pick up patch 1/3 (assuming on one objects) for 5.16, then the rest can be applied after 5.16-rc1 is out.

Regards,

Hans

Hans de Goede (3):
ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header platform/x86: intel_int0002_vgpio: Use the new soc_intel_is_byt/cht
helpers
Input: axp20x-pek - Use new soc_intel_is_cht() helper

 drivers/input/misc/axp20x-pek.c            | 26 ++-------
 drivers/platform/x86/intel/int0002_vgpio.c | 14 +----
 include/linux/platform_data/x86/soc.h      | 65 ++++++++++++++++++++++
 sound/soc/intel/common/soc-intel-quirks.h  | 51 +----------------
 4 files changed, 75 insertions(+), 81 deletions(-)
 create mode 100644 include/linux/platform_data/x86/soc.h
Signature · 1 line
2.31.1