From: Takashi Iwai <tiwai@suse.de>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: johannes.oertel@uni-due.de, alsa-devel@alsa-project.org,
clemens@ladisch.de, harryhaaren@gmail.com,
ffado-devel@lists.sf.net
Subject: Re: [PATCH 1/2] Revert "ALSA: fireworks: add support for AudioFire2 quirk"
Date: Wed, 05 Aug 2015 07:54:50 +0200 [thread overview]
Message-ID: <s5hzj26b7px.wl-tiwai@suse.de> (raw)
In-Reply-To: <1438734065-5204-2-git-send-email-o-takashi@sakamocchi.jp>
On Wed, 05 Aug 2015 02:21:04 +0200,
Takashi Sakamoto wrote:
>
> This reverts commit 9c6893e0be38b6ca9a56a854226e51dee0a16a5a.
>
> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
For reverting a commit, please give the comment why this has to be
reverted. At this time I added by myself and applied.
thanks,
Takashi
> ---
> sound/firewire/fireworks/fireworks.c | 2 --
> sound/firewire/fireworks/fireworks.h | 1 -
> sound/firewire/fireworks/fireworks_stream.c | 3 ---
> 3 files changed, 6 deletions(-)
>
> diff --git a/sound/firewire/fireworks/fireworks.c b/sound/firewire/fireworks/fireworks.c
> index c670db4..2682e7e 100644
> --- a/sound/firewire/fireworks/fireworks.c
> +++ b/sound/firewire/fireworks/fireworks.c
> @@ -248,8 +248,6 @@ efw_probe(struct fw_unit *unit,
> err = get_hardware_info(efw);
> if (err < 0)
> goto error;
> - if (entry->model_id == MODEL_ECHO_AUDIOFIRE_2)
> - efw->is_af2 = true;
> if (entry->model_id == MODEL_ECHO_AUDIOFIRE_9)
> efw->is_af9 = true;
>
> diff --git a/sound/firewire/fireworks/fireworks.h b/sound/firewire/fireworks/fireworks.h
> index c33252b..4f0201a 100644
> --- a/sound/firewire/fireworks/fireworks.h
> +++ b/sound/firewire/fireworks/fireworks.h
> @@ -70,7 +70,6 @@ struct snd_efw {
> bool resp_addr_changable;
>
> /* for quirks */
> - bool is_af2;
> bool is_af9;
> u32 firmware_version;
>
> diff --git a/sound/firewire/fireworks/fireworks_stream.c b/sound/firewire/fireworks/fireworks_stream.c
> index a0762dd..c55db1b 100644
> --- a/sound/firewire/fireworks/fireworks_stream.c
> +++ b/sound/firewire/fireworks/fireworks_stream.c
> @@ -172,9 +172,6 @@ int snd_efw_stream_init_duplex(struct snd_efw *efw)
> efw->tx_stream.flags |= CIP_DBC_IS_END_EVENT;
> /* Fireworks reset dbc at bus reset. */
> efw->tx_stream.flags |= CIP_SKIP_DBC_ZERO_CHECK;
> - /* AudioFire2 starts packets with non-zero dbc. */
> - if (efw->is_af2)
> - efw->tx_stream.flags |= CIP_SKIP_INIT_DBC_CHECK;
> /* AudioFire9 always reports wrong dbs. */
> if (efw->is_af9)
> efw->tx_stream.flags |= CIP_WRONG_DBS;
> --
> 2.1.4
>
next prev parent reply other threads:[~2015-08-05 5:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 0:21 [PATCH 0/2] ALSA: fireworks/firewire-lib: add support for recent firmware quirk Takashi Sakamoto
2015-08-05 0:21 ` [PATCH 1/2] Revert "ALSA: fireworks: add support for AudioFire2 quirk" Takashi Sakamoto
2015-08-05 5:54 ` Takashi Iwai [this message]
2015-08-05 0:21 ` [PATCH 2/2] ALSA: fireworks/firewire-lib: add support for recent firmware quirk Takashi Sakamoto
2015-08-05 5:55 ` Takashi Iwai
2015-08-10 22:44 ` [PATCH 0/2] " Takashi Sakamoto
2015-08-11 5:30 ` Takashi Iwai
2015-08-11 11:22 ` Takashi Sakamoto
-- strict thread matches above, loose matches on Subject: below --
2015-08-03 23:40 [RFC][PATCH " Takashi Sakamoto
2015-08-03 23:40 ` [PATCH 1/2] Revert "ALSA: fireworks: add support for AudioFire2 quirk" Takashi Sakamoto
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=s5hzj26b7px.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=ffado-devel@lists.sf.net \
--cc=harryhaaren@gmail.com \
--cc=johannes.oertel@uni-due.de \
--cc=o-takashi@sakamocchi.jp \
/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