sma1303.c (1bdb78368f9448cf0de9b11eb1388e887d1b4849) | sma1303.c (51c58a1ebc047acc4ac2a61a5f215c7a638a685b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2// 3// sma1303.c -- sma1303 ALSA SoC Audio driver 4// 5// Copyright 2023 Iron Device Corporation 6// 7// Auther: Gyuhwa Park <gyuhwa.park@irondevice.com> 8// Kiseok Jo <kiseok.jo@irondevice.com> --- 555 unchanged lines hidden (view full) --- 564 SMA1303_MONOMIX_MASK, 565 SMA1303_MONOMIX_OFF, 566 &temp); 567 if (temp == true) 568 change = true; 569 ret += sma1303_regmap_update_bits(sma1303, 570 SMA1303_11_SYSTEM_CTRL2, 571 SMA1303_LR_DATA_SW_MASK, | 1// SPDX-License-Identifier: GPL-2.0-or-later 2// 3// sma1303.c -- sma1303 ALSA SoC Audio driver 4// 5// Copyright 2023 Iron Device Corporation 6// 7// Auther: Gyuhwa Park <gyuhwa.park@irondevice.com> 8// Kiseok Jo <kiseok.jo@irondevice.com> --- 555 unchanged lines hidden (view full) --- 564 SMA1303_MONOMIX_MASK, 565 SMA1303_MONOMIX_OFF, 566 &temp); 567 if (temp == true) 568 change = true; 569 ret += sma1303_regmap_update_bits(sma1303, 570 SMA1303_11_SYSTEM_CTRL2, 571 SMA1303_LR_DATA_SW_MASK, |
572 SMA1303_LR_DATA_SW_NORMAL, | 572 SMA1303_LR_DATA_SW_SWAP, |
573 &temp); 574 if (temp == true) 575 change = true; 576 sma1303->amp_mode = SMA1303_STEREO; 577 break; 578 default: 579 dev_err(sma1303->dev, "%s : Invalid value (%d)\n", 580 __func__, mux); --- 1240 unchanged lines hidden --- | 573 &temp); 574 if (temp == true) 575 change = true; 576 sma1303->amp_mode = SMA1303_STEREO; 577 break; 578 default: 579 dev_err(sma1303->dev, "%s : Invalid value (%d)\n", 580 __func__, mux); --- 1240 unchanged lines hidden --- |