From: "René Herman" <rene.herman@gmail.com>
To: alsa-devel@alsa-project.org
Cc: Torsten Schenk <torsten.schenk@zoho.com>
Subject: [snd-usb-6fire] Unmark struct snd_pcm_hardware const
Date: Tue, 14 Jul 2020 17:02:46 +0200 [thread overview]
Message-ID: <a7f59f2a-510d-4a69-53f8-2bc134a9b74d@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 126 bytes --]
struct snd_pcm_hardware pcm_hw is in fact changed in usb6fire_pcm_open()
Signed-off-by: René Herman <rene.herman@gmail.com>
[-- Attachment #2: 0003-snd-usb-6fire-Unmark-struct-snd_pcm_hardware-const.patch --]
[-- Type: text/x-patch, Size: 977 bytes --]
From 114ca1103f0545b320db658c794cd5ad6723272a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Herman?= <rene.herman@gmail.com>
Date: Sun, 12 Jul 2020 01:44:53 +0200
Subject: [PATCH 3/3] [snd-usb-6fire] Unmark struct snd_pcm_hardware const
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
struct snd_pcm_hardware pcm_hw is in fact changed in usb6fire_pcm_open()
Signed-off-by: René Herman <rene.herman@gmail.com>
---
sound/usb/6fire/pcm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/6fire/pcm.c b/sound/usb/6fire/pcm.c
index cce1312db93a..8ccf6384eff9 100644
--- a/sound/usb/6fire/pcm.c
+++ b/sound/usb/6fire/pcm.c
@@ -40,7 +40,7 @@ enum { /* pcm streaming states */
STREAM_STOPPING
};
-static const struct snd_pcm_hardware pcm_hw = {
+static struct snd_pcm_hardware pcm_hw = {
.info = SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |
--
2.17.1
reply other threads:[~2020-07-14 15:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a7f59f2a-510d-4a69-53f8-2bc134a9b74d@gmail.com \
--to=rene.herman@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=torsten.schenk@zoho.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).