Re: [PATCH] media: imagination: e5010: Enable autosuspend for runtime PM

From: kernel test robot

Date: Thu Aug 13 2026 - 15:11:16 EST


Hi Brandon,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linuxtv-media-pending/master]
[also build test WARNING on linus/master v7.2-rc7 next-20260812]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Brandon-Brnich/media-imagination-e5010-Enable-autosuspend-for-runtime-PM/20260813-213716
base: https://git.linuxtv.org/media-ci/media-pending.git master
patch link: https://lore.kernel.org/r/20260722210845.723864-1-b-brnich%40ti.com
patch subject: [PATCH] media: imagination: e5010: Enable autosuspend for runtime PM
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20260814/202608140323.qyc8mKlp-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/202608140323.qyc8mKlp-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608140323.qyc8mKlp-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/media/platform/imagination/e5010-jpeg-enc.c:987:12: warning: 'e5010_init_device' defined but not used [-Wunused-function]
987 | static int e5010_init_device(struct e5010_dev *e5010)
| ^~~~~~~~~~~~~~~~~


vim +/e5010_init_device +987 drivers/media/platform/imagination/e5010-jpeg-enc.c

a1e2940458853d Devarsh Thakkar 2024-06-19 986
a1e2940458853d Devarsh Thakkar 2024-06-19 @987 static int e5010_init_device(struct e5010_dev *e5010)
a1e2940458853d Devarsh Thakkar 2024-06-19 988 {
a1e2940458853d Devarsh Thakkar 2024-06-19 989 int ret = 0;
a1e2940458853d Devarsh Thakkar 2024-06-19 990
a1e2940458853d Devarsh Thakkar 2024-06-19 991 /*TODO: Set MMU in bypass mode until support for the same is added in driver*/
a1e2940458853d Devarsh Thakkar 2024-06-19 992 e5010_hw_bypass_mmu(e5010->mmu_base, 1);
a1e2940458853d Devarsh Thakkar 2024-06-19 993
a1e2940458853d Devarsh Thakkar 2024-06-19 994 if (e5010_hw_enable_auto_clock_gating(e5010->core_base, 1))
a1e2940458853d Devarsh Thakkar 2024-06-19 995 v4l2_warn(&e5010->v4l2_dev, "failed to enable auto clock gating\n");
a1e2940458853d Devarsh Thakkar 2024-06-19 996
a1e2940458853d Devarsh Thakkar 2024-06-19 997 if (e5010_hw_enable_manual_clock_gating(e5010->core_base, 0))
a1e2940458853d Devarsh Thakkar 2024-06-19 998 v4l2_warn(&e5010->v4l2_dev, "failed to disable manual clock gating\n");
a1e2940458853d Devarsh Thakkar 2024-06-19 999
a1e2940458853d Devarsh Thakkar 2024-06-19 1000 if (e5010_hw_enable_crc_check(e5010->core_base, 0))
a1e2940458853d Devarsh Thakkar 2024-06-19 1001 v4l2_warn(&e5010->v4l2_dev, "failed to disable CRC check\n");
a1e2940458853d Devarsh Thakkar 2024-06-19 1002
a1e2940458853d Devarsh Thakkar 2024-06-19 1003 if (e5010_hw_enable_output_address_error_irq(e5010->core_base, 1))
a1e2940458853d Devarsh Thakkar 2024-06-19 1004 v4l2_err(&e5010->v4l2_dev, "failed to enable Output Address Error interrupts\n");
a1e2940458853d Devarsh Thakkar 2024-06-19 1005
a1e2940458853d Devarsh Thakkar 2024-06-19 1006 ret = e5010_hw_set_input_source_to_memory(e5010->core_base, 1);
a1e2940458853d Devarsh Thakkar 2024-06-19 1007 if (ret) {
a1e2940458853d Devarsh Thakkar 2024-06-19 1008 v4l2_err(&e5010->v4l2_dev, "failed to set input source to memory\n");
a1e2940458853d Devarsh Thakkar 2024-06-19 1009 return ret;
a1e2940458853d Devarsh Thakkar 2024-06-19 1010 }
a1e2940458853d Devarsh Thakkar 2024-06-19 1011
a1e2940458853d Devarsh Thakkar 2024-06-19 1012 ret = e5010_hw_enable_picture_done_irq(e5010->core_base, 1);
a1e2940458853d Devarsh Thakkar 2024-06-19 1013 if (ret)
a1e2940458853d Devarsh Thakkar 2024-06-19 1014 v4l2_err(&e5010->v4l2_dev, "failed to enable Picture Done interrupts\n");
a1e2940458853d Devarsh Thakkar 2024-06-19 1015
a1e2940458853d Devarsh Thakkar 2024-06-19 1016 return ret;
a1e2940458853d Devarsh Thakkar 2024-06-19 1017 }
a1e2940458853d Devarsh Thakkar 2024-06-19 1018

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki