lkml.org 
[lkml]   [2019]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/1] intel_cht_int33fe: Split code to USB TypeB and TypeC variants
Date
Patch to support INT33FE ACPI pseudo-device on hardware with USB Type B
connector.

v2:
Instead of defining two separated modules with two separated config
options, compile {common,typeb,typec} sources into one .ko module.
Call needed variant-specific probe function based after of hardware type
detection in common code.

Yauhen Kharuzhy (1):
platform/x86/intel_cht_int33fe: Split code to USB TypeB and TypeC
variants

drivers/platform/x86/Kconfig | 14 +-
drivers/platform/x86/Makefile | 4 +
.../platform/x86/intel_cht_int33fe_common.c | 148 ++++++++++++++++++
.../platform/x86/intel_cht_int33fe_common.h | 44 ++++++
.../platform/x86/intel_cht_int33fe_typeb.c | 64 ++++++++
...ht_int33fe.c => intel_cht_int33fe_typec.c} | 79 +---------
6 files changed, 278 insertions(+), 75 deletions(-)
create mode 100644 drivers/platform/x86/intel_cht_int33fe_common.c
create mode 100644 drivers/platform/x86/intel_cht_int33fe_common.h
create mode 100644 drivers/platform/x86/intel_cht_int33fe_typeb.c
rename drivers/platform/x86/{intel_cht_int33fe.c => intel_cht_int33fe_typec.c} (83%)

--
2.20.1

\
 
 \ /
  Last update: 2019-09-17 21:46    [W:0.082 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site