mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
platform: tegra: rtcpu: Don't register firmware
The Tegra firmware-class driver is being deprecated to reduce the number of out-of-tree modules that are required. The firmware is registered with this driver for informational purposes. The firmware version is already printed on boot and so remove the call to register the firmware. Bug 4090910 Change-Id: I69045a641f6daf21f15f71ae2ea70def2c74b28e Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2897319 Reviewed-by: Matti Ryttylainen <mryttylainen@nvidia.com> Reviewed-by: Ankur Pawar <ankurp@nvidia.com> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2898617 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e8240d6a9c
commit
e975e7bba9
@@ -24,7 +24,6 @@
|
||||
#include <linux/sched.h>
|
||||
#include <linux/seq_buf.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/tegra-firmwares.h>
|
||||
#include <linux/tegra-ivc-bus.h>
|
||||
#include <linux/pm_domain.h>
|
||||
#include <soc/tegra/fuse.h>
|
||||
@@ -821,18 +820,15 @@ static int tegra_cam_rtcpu_probe(struct platform_device *pdev)
|
||||
|
||||
ret = camrtc_hsp_get_fw_hash(rtcpu->hsp,
|
||||
rtcpu->fw_hash, sizeof(rtcpu->fw_hash));
|
||||
if (ret == 0)
|
||||
devm_tegrafw_register(dev,
|
||||
name != pdata->name ? name : "camrtc",
|
||||
TFW_NORMAL, tegra_camrtc_print_version, NULL);
|
||||
if (ret)
|
||||
dev_err(dev, "failed to get firmware hash!\n");
|
||||
else
|
||||
tegra_camrtc_log_fw_version(dev);
|
||||
|
||||
tegra_camrtc_set_online(dev, true);
|
||||
|
||||
pm_runtime_put(dev);
|
||||
|
||||
/* Print firmware version */
|
||||
tegra_camrtc_log_fw_version(dev);
|
||||
|
||||
s_dev = dev;
|
||||
|
||||
dev_dbg(dev, "successfully probed RTCPU on %s\n", name);
|
||||
|
||||
Reference in New Issue
Block a user