]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers: staging: sm750: Hold lock irrespective of fb numbers.
authorDhananjay Balan <mail@dbalan.in>
Thu, 29 Jun 2017 11:24:35 +0000 (13:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 14:38:50 +0000 (16:38 +0200)
commit97af1ce27844a4303139b06df962e3a8d738d23b
tree18814c81ff201a98e6d37d455ef8ae13f9e1c526
parent8a21ff775f5654eb078ae57ba64cdbd32b9297c4
drivers: staging: sm750: Hold lock irrespective of fb numbers.

Start holding the lock for all cases irrespective of number of fb,
there could be a deadlock since this number could change in the
lifetime of this lock

Signed-off-by: Dhananjay Balan <mail@dbalan.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c