Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3503027ybi; Tue, 2 Jul 2019 08:49:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYDs7dN4zQ0CVtFr0TFMoXuR2irypTVcEc7ZLHxHZV5ueZ3mIKEMJESNWGH8O98c6tlneg X-Received: by 2002:a17:90a:21ac:: with SMTP id q41mr6484759pjc.31.1562082580976; Tue, 02 Jul 2019 08:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562082580; cv=none; d=google.com; s=arc-20160816; b=PVP0Uk0FWeVciwCoEfF0FUiqh6Qzt1Tbyol7hsOC1qlR0CuUZ5nNVVBqAVnAXeLQgK ozzf6Hh35Ol868z+9gO6UbtpMN0RwomefeT/x4V9a4KyH1Nq3eXiC9H1bjaAFbO5ItrM fqey4T6V731Uz+hGRhYYCJK+DBBMu/4q1mAXkWi1jSShDADrLVAKQdZEHA6dp1UvnT2Z rcL2CJSxd9MXZB9935xGGUXE14V0O2yB909PFU6yaOZGgSd9HiXYG9a5Q1r9MncErzQ+ WEX1LVvFGH4yujg88xQDFvqs+u+s6+C7z+jvUCVWk41H1+SKtKJ2zXseIdRlmceIrRQd dbgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=wsjzFOYOg3+SUAIvNOlA1VAdgNv+qv6DCsQqt2DV+dI=; b=RhKlarYp8K2YneTf788cvXxKK6GnCHDHEt3vC1BtwrHbKv/O0OoieV7mGxzdGx9xhb j4+5zj1/1ZSB5OiK0/va1FJpl/rDGxqjiDmjTjjtSLALK9pWi6WQwhYS3Ihduxs8fTeE Hnod+q9CsoLvaKQmzL0lrmullQggkZgrSoWwzRRMAPk+3FHq0lpMYg8iZsP53AZudF6k v5UsC8vegjntg2C+OutPOYkbg0r4LxvxNZVuiJWVzK4K1BzswUi0TYSF5y+O1EqpsivS OUcXSnH2o8C5HdO57cQ1IU3OUlkF8dMZ7fqwAXbdz9/TYvJAT0DkF/PrP1Z3q5Bvn4Ys GcSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=Vy0sqmA3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si2419388pjr.65.2019.07.02.08.49.26; Tue, 02 Jul 2019 08:49:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=Vy0sqmA3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726930AbfGBPsL (ORCPT + 99 others); Tue, 2 Jul 2019 11:48:11 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:41678 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbfGBPsL (ORCPT ); Tue, 2 Jul 2019 11:48:11 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x62FkaCa002454; Tue, 2 Jul 2019 17:47:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=wsjzFOYOg3+SUAIvNOlA1VAdgNv+qv6DCsQqt2DV+dI=; b=Vy0sqmA3aGK+3ZfRUdzN+9BnFJKmsJHiN75j3RsI7aIoRs11wvz0VX9YIZfMKPgg6CF+ KFHlehp2t7dbT2J9FTUgpgcRrTymRBCKonKqYemXOjS48kejRmYfD8oW+iYYAVTLSBGW af53uSGdFKBK8fjvmkDuxcM1SN2hvWLy/15tH1EZm1lVOtbSM3rLLTvFast6mWyRxgO6 aQFHOVlO1dvQEVuyUpZ1ywmOx7XSp/tOAvURCRp+zuth63xcoBTODIJxVzHlRMBTJkZ8 IXOYGVHl18a9AEvRFWuP09oV+0HjxjM/Rgz253TziwBCvFB0Gu6AolOsfOB/+dvaX2wO eQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2tdwf0w4uy-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 02 Jul 2019 17:47:40 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B0A5334; Tue, 2 Jul 2019 15:47:38 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas22.st.com [10.75.90.92]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7C1914891; Tue, 2 Jul 2019 15:47:38 +0000 (GMT) Received: from SAFEX1HUBCAS21.st.com (10.75.90.45) by Safex1hubcas22.st.com (10.75.90.92) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 17:47:38 +0200 Received: from localhost (10.201.23.16) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 17:47:37 +0200 From: Olivier Moysan To: , , , , , , , , , , , , , , , , , Subject: [PATCH 1/3] drm/bridge: sii902x: fix missing reference to mclk clock Date: Tue, 2 Jul 2019 17:47:04 +0200 Message-ID: <1562082426-14876-2-git-send-email-olivier.moysan@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1562082426-14876-1-git-send-email-olivier.moysan@st.com> References: <1562082426-14876-1-git-send-email-olivier.moysan@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.23.16] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-02_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devm_clk_get call to retrieve reference to master clock. Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support") Signed-off-by: Olivier Moysan --- drivers/gpu/drm/bridge/sii902x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index dd7aa466b280..36acc256e67e 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -750,6 +750,7 @@ static int sii902x_audio_codec_init(struct sii902x *sii902x, sii902x->audio.i2s_fifo_sequence[i] |= audio_fifo_id[i] | i2s_lane_id[lanes[i]] | SII902X_TPI_I2S_FIFO_ENABLE; + sii902x->audio.mclk = devm_clk_get(dev, "mclk"); if (IS_ERR(sii902x->audio.mclk)) { dev_err(dev, "%s: No clock (audio mclk) found: %ld\n", __func__, PTR_ERR(sii902x->audio.mclk)); -- 2.7.4