Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c0a7f937
Commit
c0a7f937
authored
Aug 17, 2021
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-linus' into for-next
parents
327b34f2
4bf61ad5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
9 deletions
+36
-9
sound/firewire/oxfw/oxfw-stream.c
sound/firewire/oxfw/oxfw-stream.c
+8
-1
sound/firewire/oxfw/oxfw.c
sound/firewire/oxfw/oxfw.c
+4
-2
sound/firewire/oxfw/oxfw.h
sound/firewire/oxfw/oxfw.h
+5
-0
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.c
+7
-3
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel.c
+9
-3
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+2
-0
sound/pci/hda/patch_via.c
sound/pci/hda/patch_via.c
+1
-0
No files found.
sound/firewire/oxfw/oxfw-stream.c
View file @
c0a7f937
...
...
@@ -153,7 +153,7 @@ static int init_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream)
struct
cmp_connection
*
conn
;
enum
cmp_direction
c_dir
;
enum
amdtp_stream_direction
s_dir
;
unsigned
int
flags
=
CIP_UNAWARE_SYT
;
unsigned
int
flags
=
0
;
int
err
;
if
(
!
(
oxfw
->
quirks
&
SND_OXFW_QUIRK_BLOCKING_TRANSMISSION
))
...
...
@@ -161,6 +161,13 @@ static int init_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream)
else
flags
|=
CIP_BLOCKING
;
// OXFW 970/971 has no function to generate playback timing according to the sequence
// of value in syt field, thus the packet should include NO_INFO value in the field.
// However, some models just ignore data blocks in packet with NO_INFO for audio data
// processing.
if
(
!
(
oxfw
->
quirks
&
SND_OXFW_QUIRK_IGNORE_NO_INFO_PACKET
))
flags
|=
CIP_UNAWARE_SYT
;
if
(
stream
==
&
oxfw
->
tx_stream
)
{
conn
=
&
oxfw
->
out_conn
;
c_dir
=
CMP_OUTPUT
;
...
...
sound/firewire/oxfw/oxfw.c
View file @
c0a7f937
...
...
@@ -159,8 +159,10 @@ static int detect_quirks(struct snd_oxfw *oxfw, const struct ieee1394_device_id
return
snd_oxfw_scs1x_add
(
oxfw
);
}
if
(
entry
->
vendor_id
==
OUI_APOGEE
&&
entry
->
model_id
==
MODEL_DUET_FW
)
oxfw
->
quirks
|=
SND_OXFW_QUIRK_BLOCKING_TRANSMISSION
;
if
(
entry
->
vendor_id
==
OUI_APOGEE
&&
entry
->
model_id
==
MODEL_DUET_FW
)
{
oxfw
->
quirks
|=
SND_OXFW_QUIRK_BLOCKING_TRANSMISSION
|
SND_OXFW_QUIRK_IGNORE_NO_INFO_PACKET
;
}
/*
* TASCAM FireOne has physical control and requires a pair of additional
...
...
sound/firewire/oxfw/oxfw.h
View file @
c0a7f937
...
...
@@ -42,6 +42,11 @@ enum snd_oxfw_quirk {
SND_OXFW_QUIRK_BLOCKING_TRANSMISSION
=
0x04
,
// Stanton SCS1.d and SCS1.m support unique transaction.
SND_OXFW_QUIRK_SCS_TRANSACTION
=
0x08
,
// Apogee Duet FireWire ignores data blocks in packet with NO_INFO for audio data
// processing, while output level meter moves. Any value in syt field of packet takes
// the device to process audio data even if the value is invalid in a point of
// IEC 61883-1/6.
SND_OXFW_QUIRK_IGNORE_NO_INFO_PACKET
=
0x10
,
};
/* This is an arbitrary number for convinience. */
...
...
sound/pci/hda/hda_generic.c
View file @
c0a7f937
...
...
@@ -3460,7 +3460,7 @@ static int cap_put_caller(struct snd_kcontrol *kcontrol,
struct
hda_gen_spec
*
spec
=
codec
->
spec
;
const
struct
hda_input_mux
*
imux
;
struct
nid_path
*
path
;
int
i
,
adc_idx
,
err
=
0
;
int
i
,
adc_idx
,
ret
,
err
=
0
;
imux
=
&
spec
->
input_mux
;
adc_idx
=
kcontrol
->
id
.
index
;
...
...
@@ -3470,9 +3470,13 @@ static int cap_put_caller(struct snd_kcontrol *kcontrol,
if
(
!
path
||
!
path
->
ctls
[
type
])
continue
;
kcontrol
->
private_value
=
path
->
ctls
[
type
];
err
=
func
(
kcontrol
,
ucontrol
);
if
(
err
<
0
)
ret
=
func
(
kcontrol
,
ucontrol
);
if
(
ret
<
0
)
{
err
=
ret
;
break
;
}
if
(
ret
>
0
)
err
=
1
;
}
mutex_unlock
(
&
codec
->
control_mutex
);
if
(
err
>=
0
&&
spec
->
cap_sync_hook
)
...
...
sound/pci/hda/hda_intel.c
View file @
c0a7f937
...
...
@@ -883,10 +883,11 @@ static unsigned int azx_get_pos_skl(struct azx *chip, struct azx_dev *azx_dev)
return
azx_get_pos_posbuf
(
chip
,
azx_dev
);
}
static
void
azx_shutdown_chip
(
struct
azx
*
chip
)
static
void
__azx_shutdown_chip
(
struct
azx
*
chip
,
bool
skip_link_reset
)
{
azx_stop_chip
(
chip
);
azx_enter_link_reset
(
chip
);
if
(
!
skip_link_reset
)
azx_enter_link_reset
(
chip
);
azx_clear_irq_pending
(
chip
);
display_power
(
chip
,
false
);
}
...
...
@@ -895,6 +896,11 @@ static void azx_shutdown_chip(struct azx *chip)
static
DEFINE_MUTEX
(
card_list_lock
);
static
LIST_HEAD
(
card_list
);
static
void
azx_shutdown_chip
(
struct
azx
*
chip
)
{
__azx_shutdown_chip
(
chip
,
false
);
}
static
void
azx_add_card_list
(
struct
azx
*
chip
)
{
struct
hda_intel
*
hda
=
container_of
(
chip
,
struct
hda_intel
,
chip
);
...
...
@@ -2357,7 +2363,7 @@ static void azx_shutdown(struct pci_dev *pci)
return
;
chip
=
card
->
private_data
;
if
(
chip
&&
chip
->
running
)
azx_shutdown_chip
(
chip
);
__azx_shutdown_chip
(
chip
,
true
);
}
/* PCI IDs */
...
...
sound/pci/hda/patch_realtek.c
View file @
c0a7f937
...
...
@@ -8319,6 +8319,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK
(
0x1028
,
0x0a2e
,
"Dell"
,
ALC236_FIXUP_DELL_AIO_HEADSET_MIC
),
SND_PCI_QUIRK
(
0x1028
,
0x0a30
,
"Dell"
,
ALC236_FIXUP_DELL_AIO_HEADSET_MIC
),
SND_PCI_QUIRK
(
0x1028
,
0x0a58
,
"Dell"
,
ALC255_FIXUP_DELL_HEADSET_MIC
),
SND_PCI_QUIRK
(
0x1028
,
0x0a61
,
"Dell XPS 15 9510"
,
ALC289_FIXUP_DUAL_SPK
),
SND_PCI_QUIRK
(
0x1028
,
0x164a
,
"Dell"
,
ALC293_FIXUP_DELL1_MIC_NO_PRESENCE
),
SND_PCI_QUIRK
(
0x1028
,
0x164b
,
"Dell"
,
ALC293_FIXUP_DELL1_MIC_NO_PRESENCE
),
SND_PCI_QUIRK
(
0x103c
,
0x1586
,
"HP"
,
ALC269_FIXUP_HP_MUTE_LED_MIC2
),
...
...
@@ -8418,6 +8419,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK
(
0x103c
,
0x87f4
,
"HP"
,
ALC287_FIXUP_HP_GPIO_LED
),
SND_PCI_QUIRK
(
0x103c
,
0x87f5
,
"HP"
,
ALC287_FIXUP_HP_GPIO_LED
),
SND_PCI_QUIRK
(
0x103c
,
0x87f7
,
"HP Spectre x360 14"
,
ALC245_FIXUP_HP_X360_AMP
),
SND_PCI_QUIRK
(
0x103c
,
0x8805
,
"HP ProBook 650 G8 Notebook PC"
,
ALC236_FIXUP_HP_GPIO_LED
),
SND_PCI_QUIRK
(
0x103c
,
0x880d
,
"HP EliteBook 830 G8 Notebook PC"
,
ALC285_FIXUP_HP_GPIO_LED
),
SND_PCI_QUIRK
(
0x103c
,
0x8846
,
"HP EliteBook 850 G8 Notebook PC"
,
ALC285_FIXUP_HP_GPIO_LED
),
SND_PCI_QUIRK
(
0x103c
,
0x8847
,
"HP EliteBook x360 830 G8 Notebook PC"
,
ALC285_FIXUP_HP_GPIO_LED
),
...
...
sound/pci/hda/patch_via.c
View file @
c0a7f937
...
...
@@ -1041,6 +1041,7 @@ static const struct hda_fixup via_fixups[] = {
};
static
const
struct
snd_pci_quirk
vt2002p_fixups
[]
=
{
SND_PCI_QUIRK
(
0x1043
,
0x13f7
,
"Asus B23E"
,
VIA_FIXUP_POWER_SAVE
),
SND_PCI_QUIRK
(
0x1043
,
0x1487
,
"Asus G75"
,
VIA_FIXUP_ASUS_G75
),
SND_PCI_QUIRK
(
0x1043
,
0x8532
,
"Asus X202E"
,
VIA_FIXUP_INTMIC_BOOST
),
SND_PCI_QUIRK_VENDOR
(
0x1558
,
"Clevo"
,
VIA_FIXUP_POWER_SAVE
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment