mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: Scott Branden <sbranden@broadcom.com>,
	Michal Simek <michal.simek@xilinx.com>,
	<linux-kernel@vger.kernel.org>, <monstr@monstr.eu>
Cc: Weijun Yang <Weijun.Yang@csr.com>,
	Andrew Bresticker <abrestic@chromium.org>,
	Jean Delvare <jdelvare@suse.de>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	<linux-mmc@vger.kernel.org>,
	Alim Akhtar <alim.akhtar@samsung.com>,
	addy ke <addy.ke@rock-chips.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Chaotian Jing <chaotian.jing@mediatek.com>,
	"Georgi Djakov" <gdjakov@mm-sol.com>,
	Kevin Hao <haokexin@gmail.com>,
	Vincent Yang <vincent.yang.fujitsu@gmail.com>,
	Ulf Hansson <ulf.hansson@linaro.org>
Subject: Re: [RFC PATCH] mmc: Kconfig: Add dependency on GPIOLIB for Arasan driver
Date: Tue, 28 Jul 2015 10:30:16 +0200	[thread overview]
Message-ID: <55B73D98.70604@xilinx.com> (raw)
In-Reply-To: <55B6A8B8.3040404@broadcom.com>

On 07/27/2015 11:55 PM, Scott Branden wrote:
> Hi Michal,
> 
> comment in line
> 
> On 15-07-24 06:53 AM, Michal Simek wrote:
>> The patch "mmc: sdhci-of-arasan: Call OF parsing for MMC"
>> (sha1: 16b23787fc709fe60c5d2bd05927b1a3da33d4e9) introduce new
>> dependency on GPIOLIB which calls mmc_of_parse() ->
>> mmc_gpiod_request_cd() (slot-gpio.c) which calls devm_gpiod_get_index()
>> which returns -ENOSYS.
>>
>> Error log:
>> sdhci-arasan ff160000.sdhci: parsing dt failed (4294967258)
>> sdhci-arasan: probe of ff160000.sdhci failed with error -38
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>
>> This problem is probably in all others drivers.
>> This is one way how this can be solved.
>> Maybe better way is to block return value for cd and wp.
> 
> It appears there is gpio code in sdhci.c as well.  This uses slot-gpio.
> 
> Perhaps a depends on needs to be added to MMC_SDHCI instead?

yes, I know and that's why I did this as RFC. But also not all drivers
calls mmc_of_parse to reach this fault.
Anyway I am happy to send v2 with GPIOLIB dependency for the whole MMC
subsystem.

Thanks,
Michal


      reply	other threads:[~2015-07-28  8:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-24 13:53 Michal Simek
2015-07-27 21:55 ` Scott Branden
2015-07-28  8:30   ` Michal Simek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55B73D98.70604@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=Weijun.Yang@csr.com \
    --cc=abrestic@chromium.org \
    --cc=addy.ke@rock-chips.com \
    --cc=alim.akhtar@samsung.com \
    --cc=chaotian.jing@mediatek.com \
    --cc=gdjakov@mm-sol.com \
    --cc=haokexin@gmail.com \
    --cc=jdelvare@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=monstr@monstr.eu \
    --cc=sboyd@codeaurora.org \
    --cc=sbranden@broadcom.com \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=ulf.hansson@linaro.org \
    --cc=vincent.yang.fujitsu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome