Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "René Herman" <rene.herman@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Torsten Schenk <torsten.schenk@zoho.com>
Subject: [PATCH 3/3] snd-usb-6fire: Unmark struct snd_pcm_hardware const
Date: Tue, 21 Jul 2020 08:48:53 +0200	[thread overview]
Message-ID: <20200721064853.9516-4-rene.herman@gmail.com> (raw)
In-Reply-To: <20200721064853.9516-1-rene.herman@gmail.com>

struct snd_pcm_hardware pcm_hw is in fact changed in usb6fire_pcm_open()

Signed-off-by: René Herman <rene.herman@gmail.com>
---
 pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcm.c b/pcm.c
index cce1312..8ccf638 100644
--- a/pcm.c
+++ b/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


  parent reply	other threads:[~2020-07-21  6:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21  6:48 [PATCH 0/3] snd-usb-6fire: firmware load and pulseaudio assumption René Herman
2020-07-21  6:48 ` [PATCH 1/3] snd-usb-6fire: Move DMA-buffer off of the stack René Herman
2020-07-21  8:00   ` Takashi Iwai
2020-07-21  6:48 ` [PATCH 2/3] snd-usb-6fire: Pulseaudio needs snd_pcm_hardware.channels_min > 1 René Herman
2020-07-21  6:48 ` René Herman [this message]
2020-07-21  7:57   ` [PATCH 3/3] snd-usb-6fire: Unmark struct snd_pcm_hardware const Takashi Iwai
2020-07-21  8:02 ` [PATCH 0/3] snd-usb-6fire: firmware load and pulseaudio assumption Takashi Iwai
2020-07-21  8:29   ` René Herman
2020-07-21  8:37     ` Takashi Iwai
2020-07-21 10:07       ` René Herman

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=20200721064853.9516-4-rene.herman@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    --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