sma1303.c (68cd394efd0fdce25d0def8d6cb1b8898b2c13d9) sma1303.c (5b28c049ff53cf49e3a97d80cebd2e9c2779ea96)
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>

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

495 SMA1303_LR_DATA_SW_MASK,
496 SMA1303_LR_DATA_SW_NORMAL,
497 &temp);
498 if (temp == true)
499 change = true;
500 sma1303->amp_mode = SMA1303_STEREO;
501 break;
502 default:
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>

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

495 SMA1303_LR_DATA_SW_MASK,
496 SMA1303_LR_DATA_SW_NORMAL,
497 &temp);
498 if (temp == true)
499 change = true;
500 sma1303->amp_mode = SMA1303_STEREO;
501 break;
502 default:
503 dev_err(sma1303->dev, "%s : Invald value (%d)\n",
503 dev_err(sma1303->dev, "%s : Invalid value (%d)\n",
504 __func__, mux);
505 return -EINVAL;
506 }
507
508 dev_dbg(sma1303->dev, "%s : Source : %s\n", __func__,
509 sma1303_aif_in_source_text[mux]);
510 break;
511 }

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

635 SMA1303_A3_TOP_MAN2,
636 SMA1303_MON_OSC_PLL_MASK,
637 SMA1303_OSC_SDO,
638 &temp);
639 if (temp == true)
640 change = true;
641 break;
642 default:
504 __func__, mux);
505 return -EINVAL;
506 }
507
508 dev_dbg(sma1303->dev, "%s : Source : %s\n", __func__,
509 sma1303_aif_in_source_text[mux]);
510 break;
511 }

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

635 SMA1303_A3_TOP_MAN2,
636 SMA1303_MON_OSC_PLL_MASK,
637 SMA1303_OSC_SDO,
638 &temp);
639 if (temp == true)
640 change = true;
641 break;
642 default:
643 dev_err(sma1303->dev, "%s : Invald value (%d)\n",
643 dev_err(sma1303->dev, "%s : Invalid value (%d)\n",
644 __func__, mux);
645 return -EINVAL;
646 }
647
648 dev_dbg(sma1303->dev, "%s : Source : %s\n", __func__,
649 sma1303_aif_out_source_text[mux]);
650 break;
651 }

--- 1153 unchanged lines hidden ---
644 __func__, mux);
645 return -EINVAL;
646 }
647
648 dev_dbg(sma1303->dev, "%s : Source : %s\n", __func__,
649 sma1303_aif_out_source_text[mux]);
650 break;
651 }

--- 1153 unchanged lines hidden ---