]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: adis16480: Add debugfs_reg_access entry
authorNuno Sá <nuno.sa@analog.com>
Mon, 28 Oct 2019 16:33:49 +0000 (17:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 19:07:09 +0000 (20:07 +0100)
commit2ec0d8a41c0c26985d836bf2e56fbf8ab8416d40
tree05c1e678e0aa66715297eb4649d9bd38d34497e8
parent6b2a08f142062ca15311f2d7180902609e42ad08
iio: adis16480: Add debugfs_reg_access entry

commit 4c35b7a51e2f291471f7221d112c6a45c63e83bc upstream.

The driver is defining debugfs entries by calling
`adis16480_debugfs_init()`. However, those entries are attached to the
iio_dev debugfs entry which won't exist if no debugfs_reg_access
callback is provided.

Fixes: 2f3abe6cbb6c ("iio:imu: Add support for the ADIS16480 and similar IMUs")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/imu/adis16480.c