Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1706636

Re: Question about bh1770glc.ko

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: Question about bh1770glc.ko
Date 2017-08-08 17:00 +0200
Message-ID <uce9d-1st-43@gated-at.bofh.it> (permalink)
References <ucc7o-8sm-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 08, 2017 at 03:46:18PM +0300, Anton Volkov wrote:
> Hello.
> 
> In drivers/misc/bh1770glc.c several functions have comments stating that
> they must be called under lock protection, e.g. bh1770_prox_mode_control,
> bh1770_lux_interrupt_control, bh1770_lux_rate, bh1770_chip_on. However there
> are places where they are called without lock being held, e.g. during the
> bh1770_resume. Do you know anything about whether this is intended or this
> is a bug?
> 
> Thank you for your time.

I have no idea, sorry.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Question about bh1770glc.ko Anton Volkov <avolkov@ispras.ru> - 2017-08-08 14:50 +0200
  Re: Question about bh1770glc.ko Greg KH <gregkh@linuxfoundation.org> - 2017-08-08 17:00 +0200

csiph-web