mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Merge "wcd934x: Fix NULL pointer dereference for wcd9xxx pointer"
This commit is contained in:
commit
712efd3aa3
1 changed files with 2 additions and 0 deletions
|
|
@ -8939,6 +8939,8 @@ static struct snd_soc_dai_driver tavil_i2s_dai[] = {
|
|||
|
||||
static void tavil_codec_power_gate_digital_core(struct tavil_priv *tavil)
|
||||
{
|
||||
if (!tavil)
|
||||
return;
|
||||
mutex_lock(&tavil->power_lock);
|
||||
dev_dbg(tavil->dev, "%s: Entering power gating function, %d\n",
|
||||
__func__, tavil->power_active_ref);
|
||||
|
|
|
|||
Loading…
Reference in a new issue