rt5682-sdw.c (2acd30b9f6032c6cbefc5e255c17ebbb0718e56a) rt5682-sdw.c (38edbfae6c7f4ad402dd0464c1887eaf068468b8)
1// SPDX-License-Identifier: GPL-2.0-only
2//
3// rt5682-sdw.c -- RT5682 ALSA SoC audio component driver
4//
5// Copyright 2019 Realtek Semiconductor Corp.
6// Author: Oder Chiou <oder_chiou@realtek.com>
7//
8

--- 531 unchanged lines hidden (view full) ---

540 struct sdw_slave_prop *prop = &slave->prop;
541 int nval, i;
542 u32 bit;
543 unsigned long addr;
544 struct sdw_dpn_prop *dpn;
545
546 prop->scp_int1_mask = SDW_SCP_INT1_IMPL_DEF | SDW_SCP_INT1_BUS_CLASH |
547 SDW_SCP_INT1_PARITY;
1// SPDX-License-Identifier: GPL-2.0-only
2//
3// rt5682-sdw.c -- RT5682 ALSA SoC audio component driver
4//
5// Copyright 2019 Realtek Semiconductor Corp.
6// Author: Oder Chiou <oder_chiou@realtek.com>
7//
8

--- 531 unchanged lines hidden (view full) ---

540 struct sdw_slave_prop *prop = &slave->prop;
541 int nval, i;
542 u32 bit;
543 unsigned long addr;
544 struct sdw_dpn_prop *dpn;
545
546 prop->scp_int1_mask = SDW_SCP_INT1_IMPL_DEF | SDW_SCP_INT1_BUS_CLASH |
547 SDW_SCP_INT1_PARITY;
548 prop->quirks = SDW_SLAVE_QUIRKS_INVALID_INITIAL_PARITY;
548
549 prop->paging_support = false;
550
551 /* first we need to allocate memory for set bits in port lists */
552 prop->source_ports = 0x4; /* BITMAP: 00000100 */
553 prop->sink_ports = 0x2; /* BITMAP: 00000010 */
554
555 nval = hweight32(prop->source_ports);

--- 221 unchanged lines hidden ---
549
550 prop->paging_support = false;
551
552 /* first we need to allocate memory for set bits in port lists */
553 prop->source_ports = 0x4; /* BITMAP: 00000100 */
554 prop->sink_ports = 0x2; /* BITMAP: 00000010 */
555
556 nval = hweight32(prop->source_ports);

--- 221 unchanged lines hidden ---