Message ID | 1461951139-6109-4-git-send-email-dianders@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 69BB1BF440 for <patchwork-linux-rockchip@patchwork.kernel.org>; Fri, 29 Apr 2016 17:33:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8286D20212 for <patchwork-linux-rockchip@patchwork.kernel.org>; Fri, 29 Apr 2016 17:33:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86401201C8 for <patchwork-linux-rockchip@patchwork.kernel.org>; Fri, 29 Apr 2016 17:33:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1awCHw-0003zX-8n; Fri, 29 Apr 2016 17:33:12 +0000 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1awCHm-0003nY-NZ for linux-rockchip@lists.infradead.org; Fri, 29 Apr 2016 17:33:03 +0000 Received: by mail-pf0-x22e.google.com with SMTP id y69so50656607pfb.1 for <linux-rockchip@lists.infradead.org>; Fri, 29 Apr 2016 10:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fTjCxwVxLu9D19+59ReupVG53JbzqZl0vSgp3WEvjfY=; b=R+gOZ5T8t8IeNReTLZGxcEw+ILBGsUmyY52RKSh963RB3KuU1Q+reiqQL827k2I4+1 USGOCVgdFCYotbAIJ7aS5+iJjKF0mQPRS996jZgGBMHF6N3iSWCF0vlLLVcU9NANdB5S Bc9Y8UcskK+1/OduimrAgHbP4nAz5irjvRmN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fTjCxwVxLu9D19+59ReupVG53JbzqZl0vSgp3WEvjfY=; b=TfqffOoVZaDEf5isx+Rs3RYOjDi2YhqXER8IME3HhFYsJNlqh7CCv92M81EvSlqBI8 GD+TosQVgeEZCJcdFb/hvZGkQfdREkwe9o9xUlnzFWGJlnNa0SgvHvXo5cYZUQzFdrd3 vD+qLUP9zzY9udvMaSkCyDZOc0KnIP1+53gxXj9j6Z0YCZEfAIsU122iOiwqe7Fv46sL GONM7qqrfg1mka7siIknXe1wImCivtaUdLle15GaIkXgokGrg7yfIgYxwZ/osdS9/OD9 FDILPzp7+CRlW6aSYQdFpj5bQqzxUm3k4OI2do0Jxnj0uxsVN0lC0yr1sIvU5bEYLp0j Z8AA== X-Gm-Message-State: AOPr4FUh/ZGQMvsgjF0Qkw3cPPwA5ojLYMoQC5mz8DZrM3One4bqq9rRJTbvGMqyJHBjog== X-Received: by 10.98.87.220 with SMTP id i89mr30434541pfj.107.1461951163897; Fri, 29 Apr 2016 10:32:43 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by smtp.gmail.com with ESMTPSA id 19sm24880623pfu.83.2016.04.29.10.32.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Apr 2016 10:32:43 -0700 (PDT) From: Douglas Anderson <dianders@chromium.org> To: ulf.hansson@linaro.org, jh80.chung@samsung.com Subject: [PATCH v2 3/4] mmc: use SD/MMC host ID for block device name ID Date: Fri, 29 Apr 2016 10:32:18 -0700 Message-Id: <1461951139-6109-4-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1461951139-6109-1-git-send-email-dianders@chromium.org> References: <1461951139-6109-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160429_103302_822009_88DF290E X-CRM114-Status: GOOD ( 10.87 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Cc: jszhang@marvell.com, Heiko Stuebner <heiko@sntech.de>, devicetree-spec@vger.kernel.org, linux-kernel@vger.kernel.org, shawn.lin@rock-chips.com, dmitry.torokhov@gmail.com, linux-mmc@vger.kernel.org, adrian.hunter@intel.com, stefan@agner.ch, Douglas Anderson <dianders@chromium.org>, lporzio@micron.com, linux-rockchip@lists.infradead.org, grundler@chromium.org, jonathanh@nvidia.com, computersforpeace@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 9ce679255775..360700f3e0ea 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -2197,7 +2197,7 @@ again: return ERR_PTR(-ENOMEM); spin_lock(&mmc_blk_lock); - ret = ida_get_new(&mmc_blk_ida, &devidx); + ret = ida_get_new_above(&mmc_blk_ida, card->host->index, &devidx); spin_unlock(&mmc_blk_lock); if (ret == -EAGAIN)