linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Orjan Friberg <of-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>
To: <spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Bitbanged SPI over GPIO probe fail
Date: Wed, 11 Aug 2010 18:44:45 +0200	[thread overview]
Message-ID: <4C62D37D.8020303@flatfrog.com> (raw)
In-Reply-To: <4C60205B.9090202-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>

On 2010-08-09 17:35, Orjan Friberg wrote:
> When modprobing the driver platform_driver_probe returns -ENODEV but
> spi_gpio_probe is not being called, which seems odd to me.  Any suggestions?

This part I still don't understand, but I can at least insmod the driver 
by changing platform_driver_probe to platform_driver_register; it shows 
up in /sys/bus/platform/drivers now too.

(I get that I need to call platform_driver_register and create a sysfs 
entry etc before I have a device to play with.)

-- 
Orjan Friberg
FlatFrog Laboratories AB

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

      parent reply	other threads:[~2010-08-11 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09 15:35 Bitbanged SPI over GPIO probe fail Orjan Friberg
     [not found] ` <4C60205B.9090202-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>
2010-08-11 16:44   ` Orjan Friberg [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=4C62D37D.8020303@flatfrog.com \
    --to=of-gxjboj7dvqxwk0htik3j/w@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).