diff options
author | Eric Anholt <eric@anholt.net> | 2018-05-10 12:42:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-11 12:02:05 +0200 |
commit | 4bebb0312ea93cc4391f49d40eea86476f2cdf29 (patch) | |
tree | b7b38ada850506e136b67203f51ff9d6ab17d944 /drivers/staging/vc04_services/bcm2835-camera/TODO | |
parent | 37b7b3087a2f183325502e8dae7fbb9cf987f221 (diff) | |
download | op-kernel-dev-4bebb0312ea93cc4391f49d40eea86476f2cdf29.zip op-kernel-dev-4bebb0312ea93cc4391f49d40eea86476f2cdf29.tar.gz |
staging/bcm2835-camera: Set ourselves up as a platform driver.
This allows bcm2835-camera to automatically probe after VCHI has
loaded, rather than only successfully probing if the arbitrary probe
order chooses us after VCHI.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/bcm2835-camera/TODO')
-rw-r--r-- | drivers/staging/vc04_services/bcm2835-camera/TODO | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/vc04_services/bcm2835-camera/TODO b/drivers/staging/vc04_services/bcm2835-camera/TODO index 0ab9e88..cefce72 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/TODO +++ b/drivers/staging/vc04_services/bcm2835-camera/TODO @@ -21,14 +21,3 @@ less copy it needed to do. The bulk_receive() does some manual cache flushing that are 32-bit ARM only, which we should convert to proper cross-platform APIs. -4) Convert to be a platform driver. - -Right now when the module probes, it tries to initialize VCHI and -errors out if it wasn't ready yet. If bcm2835-v4l2 was built in, then -VCHI generally isn't ready because it depends on both the firmware and -mailbox drivers having already loaded. - -We should have VCHI create a platform device once it's initialized, -and have this driver bind to it, so that we automatically load the -v4l2 module after VCHI loads. - |