The commented-out code attempted to set INPUT_PROP_NO_DUMMY_RELEASE on the jack's input device, but this input property does not exist in the kernel and struct snd_jack does not expose an input_dev field. The FIXME is obsolete and the commented code is invalid, remove it.
Signed-off-by: Ayaan Mirza Baig ayaanmirzabaig85@gmail.com --- drivers/staging/greybus/audio_codec.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 2f05e761fb9a..cafce125d5d4 100644 --- a/drivers/staging/greybus/audio_codec.c +++ b/drivers/staging/greybus/audio_codec.c @@ -785,12 +785,7 @@ static int gbaudio_init_jack(struct gbaudio_module_info *module, goto free_jacks; } } - - /* FIXME - * verify if this is really required - set_bit(INPUT_PROP_NO_DUMMY_RELEASE, - module->button.jack.jack->input_dev->propbit); - */ +
return 0;