From patchwork Mon May 27 04:50:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 10962845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4DE9791E for ; Mon, 27 May 2019 12:06:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DAF128823 for ; Mon, 27 May 2019 12:06:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FD3728B45; Mon, 27 May 2019 12:06:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F337927F88 for ; Mon, 27 May 2019 12:06:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9330C89E06; Mon, 27 May 2019 12:04:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF4FE896E9 for ; Mon, 27 May 2019 04:51:25 +0000 (UTC) Received: by mail-pf1-x430.google.com with SMTP id s11so8827790pfm.12 for ; Sun, 26 May 2019 21:51:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+pghJ3QtYkbMJ3TCzTPXHLJ/5p1F8C3Os/Bvo/JdKfg=; b=c55IJhJBqMPjSc0M4LUXgxRAXpCv7xjmOakqB9epree1wWrCtP7qSwKzkuJCeETIus LkL71LaXa5IrMMsbveorliFeh8dKMM/qolWg2qGD8uXc5+NXKg4eqbY1zfhtTZVa40Od aR9Kxi6NsSG/tkObOVTNtGHg3CLDA3eAtd3KrAef9sRuUPMhKS88dtV2iN7amuw9ORcm MlnToPXUqhenhwHXUUIT4WIvi/Kymgq+ND+zQYdC6k59W/xobyoyUN0k+jfazR7mepXW mLzIy5Jjz92XL8BQwBvtRiDP6AgTWQCCa8+GCmbo7Kup1M+TF/ywpApIAFubQuRcQpMo bUyQ== X-Gm-Message-State: APjAAAVLW1MO68klMZTYdC9lVGycugKNNEnE21xXbI7pu9dEP8C+5NpN wUT8Rxe3rf6cWO5X1Wb+iKGryQ== X-Google-Smtp-Source: APXvYqwh/5/rhXpwbURGFIHVfZLO0fYXK7K8Mlv98GJtnZi4raWyoWkb3AtxYitbz76kcJUga2aqBw== X-Received: by 2002:a17:90a:2e89:: with SMTP id r9mr28510768pjd.117.1558932685483; Sun, 26 May 2019 21:51:25 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:b852:bd51:9305:4261]) by smtp.gmail.com with ESMTPSA id t18sm8082745pgm.69.2019.05.26.21.51.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 26 May 2019 21:51:25 -0700 (PDT) From: Hsin-Yi Wang To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] fix mediatek drm, dis, and disp-* unbind/bind Date: Mon, 27 May 2019 12:50:51 +0800 Message-Id: <20190527045054.113259-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 27 May 2019 12:03:54 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+pghJ3QtYkbMJ3TCzTPXHLJ/5p1F8C3Os/Bvo/JdKfg=; b=SEIZZEXrBAFGXzBgVAyoamK5sJIK5UZGppPItkKO+xGbuTud9szjLsxir/q5ZtHRrY A6F0w/RQHS5wiv/Nho1yKYDHxKHYaA5JpGEmYIpfAcbYpjfIzRVJNrpN6iaLC2IHuAsV aCbVQcAzDSmQyKMwyqZftwxAW5d/ld3/Cj9C4= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Matthias Brugger , linux-mediatek@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP There are some errors when unbinding and rebinding mediatek drm, dsi, and disp-* drivers. This series is to fix those errors and warnings. Hsin-Yi Wang (3): drm: mediatek: fix unbind functions drm: mediatek: remove clk_unprepare() in mtk_drm_crtc_destroy() drm: mediatek: unbind components in mtk_drm_unbind() drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ---- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++----- drivers/gpu/drm/mediatek/mtk_dsi.c | 4 +++- 3 files changed, 6 insertions(+), 10 deletions(-)