]> 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)
commit1ffdcfbd8316acfe9fd929f08acd70b078b9ee66
tree9b65849727e3932c49806b2d208cd9fb1b7ae893
parentdeb3b2ed8b305d58557c08aa70966e4a2b5457e1
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