All of lore.kernel.org
 help / color / mirror / Atom feed
* Dht11 driver problem
@ 2014-12-19  5:49 Varka Bhadram
  2014-12-19 12:35 ` Harald Geyer
  0 siblings, 1 reply; 3+ messages in thread
From: Varka Bhadram @ 2014-12-19  5:49 UTC (permalink / raw)
  To: harald; +Cc: linux-iio - ML

Hi,


I loaded the DHT11 driver with current linus tree on my BeagleBone black, Interfaced DHT11.

While reading the DHT11 data from sys file system, its failing.

dmesg:  gpio-30 (humidity_sensor): _gpiod_direction_output_raw: tried to set a GPIO tied to an IRQ as output

Its failing because in probe function we register gpio as irq and after that while read raw making same pin as output.

Is there any updated patches to avoid this problem..?

One more thing is that this driver is not available in IIO git tree.

Any help..?

-- 
Regards,
Varka Bhadram.


-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-19 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19  5:49 Dht11 driver problem Varka Bhadram
2014-12-19 12:35 ` Harald Geyer
2014-12-19 17:15   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.