From d45f07366ca9a8482f558292b1787a3000843c5a Mon Sep 17 00:00:00 2001
From: Robert Eckelmann <longnoserob@postmarketos.org>
Date: Tue, 24 Sep 2024 21:59:56 +0900
Subject: [PATCH] linux-pine64-pinephonepro: enable USB gadgets for debug-shell
 (MR 5621)

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
---
 device/community/linux-pine64-pinephonepro/APKBUILD           | 4 ++--
 .../config-pine64-pinephonepro.aarch64                        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/device/community/linux-pine64-pinephonepro/APKBUILD b/device/community/linux-pine64-pinephonepro/APKBUILD
index cfa0f69a502..27406e2559e 100644
--- a/device/community/linux-pine64-pinephonepro/APKBUILD
+++ b/device/community/linux-pine64-pinephonepro/APKBUILD
@@ -3,7 +3,7 @@ pkgname=linux-pine64-pinephonepro
 pkgver=6.6.0
 _pkgver=6.6
 _tagdate=20231104-22589
-pkgrel=4
+pkgrel=5
 pkgdesc="Mainline kernel for the pinephone pro"
 arch="aarch64"
 _flavor="${pkgname#linux-}"
@@ -72,5 +72,5 @@ package() {
 
 sha512sums="
 d59c410ecc1a824b7b9a38f36b224693812003320220a3464a648084152023ed8be48d0448eb8054cd2b1d42befd5e8958d3ad243e50138e1c9d0269ac2917ea  linux-ppp-6.6-20231104-22589.tar.gz
-7f7e431c6e972baad419c705dfed09890bd09bf217ebc4de574643463d27f6202acd53c60b9e8cddfdf4cee32e4652b4e0c94b21e7da4dc75a6750cc868b7eb0  config-pine64-pinephonepro.aarch64
+e3a80abf986226d753b64d57893781a12a2e04e0fa19d4de8d3b4732f709aadd1c317d0a9ecf33a828975f15e7c43fb8cae9f66136886699867bbee1a679ca4e  config-pine64-pinephonepro.aarch64
 "
diff --git a/device/community/linux-pine64-pinephonepro/config-pine64-pinephonepro.aarch64 b/device/community/linux-pine64-pinephonepro/config-pine64-pinephonepro.aarch64
index fa4a1415bba..1626ca6a8a6 100644
--- a/device/community/linux-pine64-pinephonepro/config-pine64-pinephonepro.aarch64
+++ b/device/community/linux-pine64-pinephonepro/config-pine64-pinephonepro.aarch64
@@ -4958,7 +4958,7 @@ CONFIG_USB_F_MASS_STORAGE=y
 CONFIG_USB_F_TCM=m
 CONFIG_USB_CONFIGFS=y
 # CONFIG_USB_CONFIGFS_SERIAL is not set
-# CONFIG_USB_CONFIGFS_ACM is not set
+CONFIG_USB_CONFIGFS_ACM=y
 # CONFIG_USB_CONFIGFS_OBEX is not set
 CONFIG_USB_CONFIGFS_NCM=y
 CONFIG_USB_CONFIGFS_ECM=y
-- 
GitLab