]> git.baikalelectronics.ru Git - kernel.git/commit
spmi: pmic-arb: remove the read/write access checks
authorKiran Gunda <kgunda@codeaurora.org>
Fri, 28 Jul 2017 07:10:36 +0000 (12:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 11:51:19 +0000 (13:51 +0200)
commit8e3e3a98935a58761c124d83ef1559102f7b40c5
tree9b65849727e3932c49806b2d208cd9fb1b7ae893
parente6a368b694a17c675642b3897961a5c4006af166
spmi: pmic-arb: remove the read/write access checks

The access mode checks for peripheral ownership for read/write
permissions should not be required. Every peripheral enabled for
this master is expected to have a read/write permissions. If there
is any such invalid access due to wrong configuration in boot loader
or device tree files, then it should be fixed in those locations.
Hence, remove the access mode checks from the driver.

Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi-pmic-arb.c