rt711-sdw.c (2acd30b9f6032c6cbefc5e255c17ebbb0718e56a) rt711-sdw.c (38edbfae6c7f4ad402dd0464c1887eaf068468b8)
1// SPDX-License-Identifier: GPL-2.0
2//
3// rt711-sdw.c -- rt711 ALSA SoC audio driver
4//
5// Copyright(c) 2019 Realtek Semiconductor Corp.
6//
7//
8

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

340 struct sdw_slave_prop *prop = &slave->prop;
341 int nval, i;
342 u32 bit;
343 unsigned long addr;
344 struct sdw_dpn_prop *dpn;
345
346 prop->scp_int1_mask = SDW_SCP_INT1_IMPL_DEF | SDW_SCP_INT1_BUS_CLASH |
347 SDW_SCP_INT1_PARITY;
1// SPDX-License-Identifier: GPL-2.0
2//
3// rt711-sdw.c -- rt711 ALSA SoC audio driver
4//
5// Copyright(c) 2019 Realtek Semiconductor Corp.
6//
7//
8

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

340 struct sdw_slave_prop *prop = &slave->prop;
341 int nval, i;
342 u32 bit;
343 unsigned long addr;
344 struct sdw_dpn_prop *dpn;
345
346 prop->scp_int1_mask = SDW_SCP_INT1_IMPL_DEF | SDW_SCP_INT1_BUS_CLASH |
347 SDW_SCP_INT1_PARITY;
348 prop->quirks = SDW_SLAVE_QUIRKS_INVALID_INITIAL_PARITY;
348
349 prop->paging_support = false;
350
351 /* first we need to allocate memory for set bits in port lists */
352 prop->source_ports = 0x14; /* BITMAP: 00010100 */
353 prop->sink_ports = 0x8; /* BITMAP: 00001000 */
354
355 nval = hweight32(prop->source_ports);

--- 185 unchanged lines hidden ---
349
350 prop->paging_support = false;
351
352 /* first we need to allocate memory for set bits in port lists */
353 prop->source_ports = 0x14; /* BITMAP: 00010100 */
354 prop->sink_ports = 0x8; /* BITMAP: 00001000 */
355
356 nval = hweight32(prop->source_ports);

--- 185 unchanged lines hidden ---