mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #1712 from r3claimer/next
SM8250: update kernel to 6.16 and fix low audio issue
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -33,7 +33,7 @@ diff -rupbN linux.orig/drivers/gpu/drm/panel/Makefile linux/drivers/gpu/drm/pane
|
||||
diff -rupbN linux.orig/drivers/gpu/drm/panel/panel-ddic-ch13726a.c linux/drivers/gpu/drm/panel/panel-ddic-ch13726a.c
|
||||
--- linux.orig/drivers/gpu/drm/panel/panel-ddic-ch13726a.c 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ linux/drivers/gpu/drm/panel/panel-ddic-ch13726a.c 2024-12-04 14:30:40.229971350 +0000
|
||||
@@ -0,0 +1,344 @@
|
||||
@@ -0,0 +1,345 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-only
|
||||
+/*
|
||||
+ * DDIC CH13726A MIPI-DSI panel driver
|
||||
@@ -84,6 +84,7 @@ diff -rupbN linux.orig/drivers/gpu/drm/panel/panel-ddic-ch13726a.c linux/drivers
|
||||
+static int ch13726a_on(struct ch13726a_panel *ctx)
|
||||
+{
|
||||
+ struct mipi_dsi_device *dsi = ctx->dsi;
|
||||
+ struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi };
|
||||
+ struct device *dev = &dsi->dev;
|
||||
+ int ret;
|
||||
+
|
||||
|
||||
@@ -33,9 +33,9 @@ index 0af26b65bca6..610e2b389f90 100644
|
||||
|
||||
dsi->mode_flags |= MIPI_DSI_MODE_LPM;
|
||||
|
||||
+ mipi_dsi_dcs_write_seq(dsi, 0xf0, 0x50);
|
||||
+ mipi_dsi_dcs_write_seq(dsi, 0xb9, 0x00);
|
||||
+
|
||||
+ mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0xf0, 0x50);
|
||||
+ mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0xb9, 0x00);
|
||||
+
|
||||
ret = mipi_dsi_dcs_exit_sleep_mode(dsi);
|
||||
if (ret < 0) {
|
||||
dev_err(dev, "Failed to exit sleep mode: %d\n", ret);
|
||||
|
||||
@@ -147,17 +147,3 @@ diff -rupbN linux.orig/sound/soc/qcom/qdsp6/q6asm.c linux/sound/soc/qcom/qdsp6/q
|
||||
break;
|
||||
}
|
||||
goto done;
|
||||
diff -rupbN linux.orig/sound/soc/soc-pcm.c linux/sound/soc/soc-pcm.c
|
||||
--- linux.orig/sound/soc/soc-pcm.c 2024-10-19 13:35:30.953023643 +0000
|
||||
+++ linux/sound/soc/soc-pcm.c 2024-11-04 05:06:06.991809741 +0000
|
||||
@@ -2497,8 +2497,8 @@ static int dpcm_fe_dai_prepare(struct sn
|
||||
/* there is no point preparing this FE if there are no BEs */
|
||||
if (list_empty(&fe->dpcm[stream].be_clients)) {
|
||||
/* dev_err_once() for visibility, dev_dbg() for debugging UCM profiles */
|
||||
- dev_err_once(fe->dev, "ASoC: no backend DAIs enabled for %s, possibly missing ALSA mixer-based routing or UCM profile\n",
|
||||
- fe->dai_link->name);
|
||||
+ //dev_err_once(fe->dev, "ASoC: no backend DAIs enabled for %s, possibly missing ALSA mixer-based routing or UCM profile\n",
|
||||
+ // fe->dai_link->name);
|
||||
dev_dbg(fe->dev, "ASoC: no backend DAIs enabled for %s\n",
|
||||
fe->dai_link->name);
|
||||
ret = -EINVAL;
|
||||
|
||||
29
projects/ROCKNIX/packages/audio/alsa-utils/package.mk
Normal file
29
projects/ROCKNIX/packages/audio/alsa-utils/package.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
PKG_NAME="alsa-utils"
|
||||
PKG_VERSION="1.2.14"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.alsa-project.org/"
|
||||
PKG_URL="https://www.alsa-project.org/files/pub/utils/alsa-utils-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib ncurses systemd alsa-ucm-conf"
|
||||
PKG_LONGDESC="This package includes the utilities for ALSA, like alsamixer, aplay, arecord, alsactl, iecset and speaker-test."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-alsaconf \
|
||||
--disable-alsaloop \
|
||||
--enable-alsatest \
|
||||
--disable-bat \
|
||||
--disable-dependency-tracking \
|
||||
--disable-nls \
|
||||
--disable-rst2man \
|
||||
--disable-xmlto"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/lib ${INSTALL}/var
|
||||
rm -rf ${INSTALL}/usr/share/alsa/speaker-test
|
||||
rm -rf ${INSTALL}/usr/share/sounds
|
||||
rm -rf ${INSTALL}/usr/lib/systemd/system
|
||||
}
|
||||
@@ -35,7 +35,7 @@ case ${DEVICE} in
|
||||
PKG_VERSION="6.15.2"
|
||||
;;
|
||||
SM8250)
|
||||
PKG_VERSION="6.15.8"
|
||||
PKG_VERSION="6.16"
|
||||
;;
|
||||
*)
|
||||
PKG_VERSION="6.12.40"
|
||||
|
||||
Reference in New Issue
Block a user