MIPI configuration wise, there is no difference between both the projects.
Looks like there is a problem with the enumeration.
Some part of the code might have missed.
Please check whether the modified project included all the files.
And also compare all .c and .h files.
Can you upload your project. I could check on my side.
Your code works fine on my side.
Please try to uninstall the device in device manager and let it re-install driver again.